TL;DR I need Long Lived Access Token for Threads API for my personal application. I read that I get Long Lived Access Token by obtaining short lived access token firstly according this: https://developers.facebook.com/docs/threads/get-started/long-lived-tokens
I didn't find term "short lived access token" in official docs but I found this: https://developers.facebook.com/docs/threads/get-started/app-access-tokens
so I created Threads API app in Meta dev portal and tried to make a call like:
curl -X GET https://graph.threads.net/oauth/access_token?client_id=MY_APP_ID_COPIED_FROM_APP_SETTINGS&client_secret=MY_APP_SECRET_COPIED_FROM_APP_SETTINGS&grant_type=client_credentials
and got response like:
{
"error": {
"message": "Invalid client_id: MY_APP_ID_COPIED_FROM_APP_SETTINGS",
"type": "OAuthException",
"code": 1,
"fbtrace_id": "AMkWyfST5zz3sec6A5FMeow"
}
}
Probably calling wrong endpoint? But as I said I didn't find anything about short lived access token in docs.