Long term token
1

How to obtain a Permanent token?

https://graph.facebook.com/{{Version}}/oauth/access_token but it says invalid client_id.

The JSON is like that: { "grant_type": "fb_exchange_token", "client_id": {{AppID}}, "client_secret": {{ClientSecret}}, "fb_exchange_token": {{Token_shortterm}} }

Cabre
Вопрос задан в понедельник
Выбранный ответ
1

its because you should do it whit a get consult not a post an the url should be like this: https://graph.facebook.com/oauth/access_token?client_id={your app id}&client_secret={your app secret}&grant_type=fb_exchange_token&fb_exchange_token={your shor live token}

all the thing you need are in "app settings>basic" and you should not use a json to this consult

21 октября в 08:20
Matías Ezequiel