python - Create permanent access token -
python - Create permanent access token -
im trying write script in python convert grouping names id. way doing via
graph.facebook.com/search?q=groupname&type=group&access_token=xxxxx
i can create access token through graph api explorer on developers.facebook.com under tools lasts couple of hours.
this must possible websites such
http://lookup-id.com/ https://www.wallflux.com/facebook_id/
offer service already
how can create permenant token? ive tried looking around soloution involve needing access single page/group own.
as grouping search needs user access token, you'll not able eternal access token. long-lived user access tokens valid 60 days , need refreshed afterwards.
see
https://developers.facebook.com/docs/graph-api/using-graph-api/v2.0#search https://developers.facebook.com/docs/facebook-login/access-tokens#extending python facebook facebook-graph-api
Comments
Post a Comment