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

后端 未结 2 1031
醉酒成梦
醉酒成梦 2021-02-10 09:08

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:13

    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/

提交回复
热议问题