错误-->我正在尝试使用IOS6.0登录Facebook
有时,用户会收到此错误消息,特别是那些没有在设备上打开Facebook的用户。
你知道为什么它会在一些IOS6设备上发生,而另一些不会吗?
- (void)openSession
{
NSArray *permissions = [[NSArray alloc] initWithObjects:
@"email",
@"user_birthday",
nil];
[FBSession openActiveSessionWithReadPermissions:permissions
allowLoginUI:YES
completionHandler:
^(FBSession *session,
FBSessionState state, NSError *error) {
[self sessionStateChanged:session state:state error:error];
}];}
发布于 2013-02-09 18:46:04
我猜你的Facebook应用程序没有正确的捆绑包id。check this
https://stackoverflow.com/questions/14787219
复制相似问题