简体   繁体   中英

How to extend the access_token of a page in facebook using facebook python sdk

I am new in using facebook python sdk. I have to post in a fan page as the page admin. I can do this by using the page access_token and permissions. but problem is that the access_token expires after the user logout. I want an extended access_token for the page. Is there a way of doing it ?
I have googled but could not found useful information.

You need to have the user log in again in order to renew the access token.

From the Facebook documentation:

If the access token becomes invalid, the solution is to have the person log in again, at which point you will be able to make API calls on their behalf once more. The login flow your app uses for new people should determine which method you need to adopt.

Facebook Access Tokens Documentation

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