我正在通过 Facebook PHP SDK 开发应用程序。 如果用户从 Facebook 页面卸载此应用程序,我将从我的应用程序中删除相关数据。 PHP有没有办法识别应用程序的卸载?
最佳答案
来自the docs on authentication :
App Deauthorization
When a user of your app removes it in the App Dashboard or blocks the app in the News Feed, your app can be notified by specifying a Deauthorize Callback URL in the Developer App. During app removal we will send an HTTP POST request containing a single parameter, signed_request, which contains the user id (UID) of the user that just removed your app. You will not receive an user access token in this request and all existing user access tokens will be automatically expired.
关于php - 如何在 PHP 上识别 Facebook 应用程序已卸载,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9391375/