Can I use Facebook PHP SDK to deauthorize my app for a particular user, basically I like to have a toggle so the user can link or unlink their facebook account to my site, I have the link part working, now just need the unlink part.
Thanks
Scroll down, tap Settings, then tap Apps and Websites. Tap Logged in with Facebook. Tap the app or game that you want to remove. Below the name of the app or game, tap Remove.
To remove the gaming tab from your Facebook desktop, go to your settings and click on the "gaming" tab. From there, you can click on the "remove" button to remove the gaming tab from your Facebook desktop.
When you block or remove an app or game from the App Center or from your app settings, they'll no longer be able to access any info about you. However, if you've shared your email address with an app or game, they can still send you emails at that address.
Now Graph API has a way to do this: https://developers.facebook.com/docs/reference/api/user/#permissions
Delete
You can de-authorize an application entirely, or just revoke a specific permission on behalf of a user by issuing an HTTP DELETE to USER_ID/permissions or USER_ID/permissions/PERMISSION_NAME respectively. This request must be made with a valid user access_token or an app access token for the current app.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With