Reputation: 49843
I have a website where users can log in with the Facebook oAuth API.
Once the user logs in or registers via Facebook it is stored in my database.
But what I'd like to achieve is, once the user goes to his Facebook application settings page and removes my website app permissions, the used should also be deleted from my database.
Is there any work around to this problem, if this is not possible via the Facebook oAuth API?
Upvotes: 0
Views: 136
Reputation: 4466
You can add Deauthorise Callback URL
by Navigating to Settings > Advanced section
of your application. Whenever a User Deauthorises your Facebook app, Facebook performs a HTTP POST of signed request to your URL. You may use the field user_id
to determine which User has deauthorised your app.
Upvotes: 2
Reputation: 324
Actually, I would do the following:
Upvotes: 1