iOS 6 facebook sdk 3.1.1登录错误 [英] iOS 6 facebook sdk 3.1.1 login error

查看:157
本文介绍了iOS 6 facebook sdk 3.1.1登录错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试使用Facebook登录,然后在 https://developers.facebook.com/docs/getting-started/facebook-sdk-for-ios/3.1/ 实现它,但在警报视图请求我允许我的应用程序使用您的数据和按确定错误



无法完成操作。 (com.facebook.sdk error 2)



请注意,我在模拟器中我进入了FB我的帐户里面的设置,它被正确记录。 p>

调试问题,错误的结果如下:


NSError *)$ 1 = 0x0ac77290错误Domain = com.facebook.sdk代码= 2操作无法完成(com.facebook.sdk错误2.)UserInfo = 0xac77450 {com.facebook.sdk:ErrorLoginFailedReason = com .facebook.sdk:ErrorLoginFailedReason,com.facebook.sdk:ErrorInnerErrorKey = Error Domain = com.apple.accounts Code = 7Facebook服务器无法完成此访问请求:没有存储的remote_app_id为应用程序UserInfo = 0xaa91d40 {NSLocalizedDescription = Facebook服务器无法完成此访问请求:no stored remote_app_id for app}}



解决方案

你需要在apps.facebook.com上的应用设置中提供您的应用程序包ID。



iOS 6 Facebook发布程序结束于remote_app_id与存储的id不匹配


I tried to login using facebook followed the facebook tutorial in https://developers.facebook.com/docs/getting-started/facebook-sdk-for-ios/3.1/ to implement it but after the alert view asking me to allow my app use your data and press ok the error

The operation could not be completed . (com.facebook.sdk error 2)

note that iam in the simulatore and i entered FB my account inside setting and it is logged correctly.

debugging the issue it and the result of the error is as following :

(NSError *) $1 = 0x0ac77290 Error Domain=com.facebook.sdk Code=2 "The operation couldn’t be completed. (com.facebook.sdk error 2.)" UserInfo=0xac77450 {com.facebook.sdk:ErrorLoginFailedReason=com.facebook.sdk:ErrorLoginFailedReason, com.facebook.sdk:ErrorInnerErrorKey=Error Domain=com.apple.accounts Code=7 "The Facebook server could not fulfill this access request: no stored remote_app_id for app" UserInfo=0xaa91d40 {NSLocalizedDescription=The Facebook server could not fulfill this access request: no stored remote_app_id for app}}

解决方案

You need to provide your app bundle id in app settings on developers.facebook.com

iOS 6 Facebook posting procedure ends up with "remote_app_id does not match stored id"

这篇关于iOS 6 facebook sdk 3.1.1登录错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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