Facebook应用程序权限无法打开 [英] Facebook App Permission Getting Toggled Somehow

查看:426
本文介绍了Facebook应用程序权限无法打开的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的iPhone应用程序中的Facebook的SSO正常工作,我的大多数用户没有遇到任何问题。但是,他们中的少数人一直报告Facebook Connect的错误,无法创建帐户。在与一个电子邮件交换之后,我们确定在设置 - >Facebook下的应用程序权限切换设置为禁止我的应用程序使用Facebook。



我已经添加了一个错误消息,告诉用户这可能是这种情况,但我的问题是这个开关是如何切换的?看来用户必须手动切换这个开关,对吧?我还查找了一个可能做到这一点的API方法。拒绝Facebook SSO第一次用户看到对话框要求许可;我找不到任何这样的代码。



任何想法?我希望这个问题会解决自己的错误对话框,如果可能的话,我想完全删除这个问题。

解决方案据我所知,使用iOS6的原生对话框拒绝权限请求(第一个,至少不确定要求现有用户获得更多权限的请求)会切换该开关



如果您需要调试,请尝试从您的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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆