简体   繁体   中英

Get user access token from Graph Api Explore facebook and extend it

I know how to get short-term user access token then extend it to long-term access token (facebook) when i have my own app id and app secret. But now I want to get and extend the access token provided by Graph Api Explorer. How can I do it ? If we do it manually, we get an access token from Graph Api Explorer but its short term and will expires in about 1 hours, how can I make it a long-term access token?

This is not possible. To extend the Access Tokens, you must utilize an app_id as well as an app_secret . I assume you don't have the app_secret of the Graph Explorer, so this might get difficult.

See

I still have this issue and Tobi not understood the problem. The Facebook Access Tokens are really problematic most of times and this is one of the bigger issue.

I have a facebook stream plugin where user can show their personal profile posts. But the only access token that work is the one generated by Graph API Explorer and this can not be extended. Any other access token associated to an APP will not work.

Is incredible that Facebook not have a tool to allow users to generate an access token for access their personal informations. Currently there is not any working solution. Incredible.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM