问题
I'm using the facebook php sdk to enable users signing into my web app using their facebook account. After a user tries to register using their facebook account, I'm retrieving their details using Facebook.getSignedRequest(); and adding them to my DB.
My problem is in case an error is found during adding the new user to my DB, in which case I'm interested to roll back and delete them from my app on facebook.
How can I achieve that?
回答1:
Only the user can remove your App. Just check if he is in the database already when he returns.
来源:https://stackoverflow.com/questions/28501113/facebook-php-sdk-how-to-delete-a-user-after-registration-to-my-app