草庐IT

FBSessionStateClosedLoginFailed

全部标签

ios - 当我通过设置登录时 FBSessionStateClosedLoginFailed

我有一个与Facebook集成的应用程序,有时一切正常,但现在我收到一些邮件,有些人无法使用Facebook登录。现在我现在是什么问题。如果我没有通过我的facebook帐户中的设置登录,一切正常,但是当我通过设置登录时,我总是进入sessionStateChanged函数FBSessionStateClosedLoginFailed:我该怎么办?这是我的代码:首先,当我点击使用Facebook登录时,我使用了这个功能:-(void)facebookLoginFunction{if([selfcheckInternet]==TRUE){[[NSNotificationCenterdef

ios - 每次我尝试登录我的应用程序时 FBSessionStateClosedLoginFailed

嗨,我每次运行它时都会返回FBSessionStateClosedLoginFailed状态。我已经检查了我的包名称、URL设置等,一切正常。事实上,facebook知道我已经通过该应用程序进行了身份验证。但是,每次我调用openWithCompletion时,我的session都会失败![appDelegate.sessionopenWithCompletionHandler:^(FBSession*session,FBSessionStatestatus,NSError*error){switch(status){caseFBSessionStateOpen:NSLog(@"Ope