How to renew/extend facebook access tokens with PHP?

后端 未结 4 1885
失恋的感觉
失恋的感觉 2020-12-25 08:52

Facebook has removed the offline_access token functionality, now tokens have to be renewed whenever the user visits your website to keep them active.

Say someone has

4条回答
  •  囚心锁ツ
    2020-12-25 09:55

    Updated

    Yes @zerkms is right, no access_token is needed if the application has permission.

    With this permission, you can publish content to a user's feed at any time. However, please note that Facebook recommends a user-initiated sharing model. Please read the Platform Policies to ensure you understand how to properly use this permission. Note, you do not need to request the publish_stream permission in order to use the Feed Dialog, the Requests Dialog or the Send Dialog.

    All extended permissions have similar privileges: https://developers.facebook.com/docs/authentication/permissions/

提交回复
热议问题