Always return Error FBErrorCategoryUserCancelled while login with facebook in my application

北慕城南 提交于 2019-12-03 06:23:07

In my case it was because the facebook app's sandbox mode was still on, and therefore result in FBErrorCategoryUserCancelled for anyone who is not an administrator/developer/tester of the app.

To turn off sandbox mode on facebook, go to https://developers.facebook.com/apps/YOUR_FACEBOOK_APP_ID/review-status/

See where it says "Do you want to make this app and all its live features available to the general public?", make it to be YES. (You might need to insert a contact email before you can access this option).

Or, if you don't want to make the app go public just yet, invite the tester to be an admin/developer/tester of the app. The person need to accept your invitation before he can use it.

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