验证失败与Facebook应用程序安装(iOS) [英] Authentication Fails with Facebook App Installed (iOS)

查看:164
本文介绍了验证失败与Facebook应用程序安装(iOS)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚开始看到Facebook Connect身份验证的问题。如果我安装了iOS应用程序版本3.4.4,我的委托的fbDidNotLogin方法将被调用,并显示一条错误消息用户拒绝了您的请求。当我卸载FB应用程序时,身份验证工作正常。有其他人看到这个吗?有人知道我可以绕过这个错误吗?



这是我打电话给Facebook的对象:

  [[app facebook] authorize:[NSArray arrayWithObjects:
@publish_stream,@offline_access,nil]
delegate:app];


解决方案

确保您的应用程序包ID在您的应用程序的Facebook页面。



我认为他们刚刚开始执行此操作,这就是为什么刚刚破产。



您应该可以通过进入Facebook上的应用设置,然后从屏幕上点击编辑设置来获取应用程序标识来更改此设置。 移动本机部分将允许您更改您的iOS软件包ID,使其与Info.plist中的捆绑标识符相匹配。



希望这有助于某人!知道你可以使用最新的Facebook应用程序,这可能是一个配置问题,如上所述。


I've just started seeing a problem with Facebook Connect authentication. If I have version 3.4.4 of the iOS app installed, my delegate's fbDidNotLogin method gets called with an error message of "The user denied your request". When I uninstall the FB app, the authentication works fine. Is anyone else seeing this? Does anyone know how I can route around this bug?

Here's my call to the Facebook object:

[[app facebook] authorize:[NSArray arrayWithObjects:
                           @"publish_stream", @"offline_access", nil]
                           delegate:app];

解决方案

Make sure your application bundle id is set correctly on your app's Facebook page.

I think they just started to enforce this, which is why it just recently broke.

You should be able to change this by going into your apps settings on Facebook, and clicking 'Edit Settings' from the screen where you get your App Id. The 'Mobile Native' section will allow you to change your iOS Bundle ID to match the Bundle Identifier you have in Info.plist.

Hope this helps someone! Know that you can get this working with the latest Facebook app, and it is probably a configuration issue like the one described above.

这篇关于验证失败与Facebook应用程序安装(iOS)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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