[英]com.facebook.sdk error 2 on login for some users using FBLoginView
I have been getting the infamous com.facebook.sdk error 2 for some users when trying to login to an app I'm working on. 尝试登录我正在使用的应用程序时,某些用户遇到了臭名昭著的com.facebook.sdk错误2。
This is all the code i have for the FBLoginView 这是我拥有的FBLoginView的所有代码
FBLoginView *loginView = [[FBLoginView alloc] init];
loginView.readPermissions = @[@"public_profile", @"user_friends",@"email"];
loginView.center = CGPointMake(self.view.center.x, self.view.frame.size.height-80);
loginView.delegate = self;
My app is live (out of sandbox mode), bundle name, appID match in my project. 我的应用程序处于活动状态(不在沙盒模式下),捆绑名称,appID在我的项目中匹配。 Any idea to what I'm doing wrong, thing I should check to solve this?
对我做错的事情有任何想法,应该检查一下以解决此问题? I have tried almost everything and am feeling quite hopeless already.
我几乎尝试了所有事情,已经感到绝望了。 Thanks for any help and suggestions!
感谢您的帮助和建议!
What seemed to cause the problem was the permission public_profile
. 引起问题的似乎是
public_profile
许可。 Once I removed it, it worked fine. 一旦删除它,它就可以正常工作。 Not sure if this has something to do with the sdk version...but apparently it does.
不知道这是否与sdk版本有关...但是显然可以。 Gluck!
l!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.