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

北战南征 提交于 2019-12-03 08:53:00

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/

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

Ensure you enabled "Remove offline_access permission" in the advanced settings of your app

If you did, you might be hitting a bug https://developers.facebook.com/bugs/378106708911903

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!