Alina Boia
Alina Boia

Reputation: 35

When user remove app - delete user from my sql database

When an user remove my app from Facebook interface, I want to delete this user from my mysql database. How is possible to do that? (functions or method)

I see something at App Settings->Deauthorize Callback, when user remove app, Facebook server will send data to this page and should make a script that automatically remove that uid from my database?

Upvotes: 1

Views: 776

Answers (1)

Lix
Lix

Reputation: 47986

You are 100% correct - your Deauthorize Callback URL will be sent a signed_request that you can decode to retrieve the information you need on the user that removed your application.

Upvotes: 1

Related Questions