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

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -