How do you get long-lived access tokens from the Facebook Graph API (server-side auth)?

后端 未结 2 1508
深忆病人
深忆病人 2021-02-10 08:45

Since Facebook is removing the offline_access permission, I want to go ahead an migrate our website to use the new system.

I found this document on Facebook\'s website:

2条回答
  •  梦谈多话
    2021-02-10 09:19

    Not sure if you know it. But the access token will only be renewed once a day, no matter how many times the user logs in into your application.

    See: https://developers.facebook.com/roadmap/offline-access-removal/

提交回复
热议问题