Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facebook deauthorize my app

Tags:

php

facebook

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

like image 504
Philip Gura Avatar asked Apr 25 '11 17:04

Philip Gura


People also ask

How do I deauthorize an app on Facebook?

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.

How do I get rid of the Facebook game TAB 2022?

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.

What happens when you remove an app connected to Facebook?

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.


1 Answers

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.

like image 199
Rafael Oliveira Avatar answered Sep 29 '22 13:09

Rafael Oliveira