Facebook应用程序权限无法打开 [英] Facebook App Permission Getting Toggled Somehow
问题描述
我已经添加了一个错误消息,告诉用户这可能是这种情况,但我的问题是这个开关是如何切换的?看来用户必须手动切换这个开关,对吧?我还查找了一个可能做到这一点的API方法。拒绝Facebook SSO第一次用户看到对话框要求许可;我找不到任何这样的代码。
任何想法?我希望这个问题会解决自己的错误对话框,如果可能的话,我想完全删除这个问题。
如果您需要调试,请尝试从您的Facebook个人资料( HTTP DELETE请求/ / USERID> / permissions
将会执行此操作,或者您可以在Facebook应用设置中执行此操作),删除iOS应用程序,然后再安装并尝试再次连接
I have Facebook's SSO working properly in my iPhone app and most of my users have not been experiencing any issues. However, a small number of them have been reporting errors with Facebook Connect and not being able to create an account. After an email exchange with one, we determined that the app permission toggle under Settings->Facebook was somehow set to disallow my app from using Facebook.
I have since added an error message telling the user this might be the case but my question is how did this switch get toggled in the first place? It would seem that a user would have to manually toggle this switch, right? I also looked for an API method that might do this e.g. rejecting Facebook SSO the first time a user saw the dialog asking for permission; I could not find any such code.
Any ideas? I'm hoping this problem will solve itself with the error dialog I've put in but if possible, I'd like to remove this issue altogether.
As far as I know, using the native dialog with iOS6 and rejecting the permissions request (the first one, at least, not sure about requests which are asking an existing user for more permissions) will toggle that switch
If you need to debug, try uninstalling the app from your facebook profile (a HTTP DELETE request to /<USER ID>/permissions
will do this, or you can do it in the facebook app settings), remove the iOS app, then install it and try to connect for 'the first time' again
这篇关于Facebook应用程序权限无法打开的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!