Facebook php sdk: How to delete a user after registration to my app

给你一囗甜甜゛ 提交于 2020-01-06 19:42:18

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!