验证失败与Facebook应用程序安装(iOS) [英] Authentication Fails with Facebook App Installed (iOS)
问题描述
这是我打电话给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屋!