Facebook API - User access token with no expiration -
i read here can non-expiring access token users when calling this:
https://graph.facebook.com/oauth/access_token? client_id=app_id& client_secret=app_secret& grant_type=fb_exchange_token& fb_exchange_token=existing_access_token
it obvious client_id
, client_secret
heck grant_type
, fb_exchange_token
?
i managed post user's timeline/pin board access_token
used app_id + | + app_secret
. worked great.
btw: need permission manage_pages
because want add together photos user album.
any ideas these 2 attributes , can them?
grant type
(the 3rd parameter) nil string "fb_exchange_token"
and
fb_exchange_token
(the 4th parameter) previous access_token
has either expired or expire.
so illustration requesting url should :
https://graph.facebook.com/oauth/access_token client_id=783921075894231403 &client_secret=78789230452234235412793042 &grant_type=fb_exchange_token &fb_exchange_token=60as98dg690758a0sd5g57869608s9da8g6sda96g5s9adg
facebook facebook-access-token
No comments:
Post a Comment