Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS 6 facebook Auth Application status

I'm doing Facebook auth with SDK 3.1 on iOS6. I have an existing app that was using old FB SDK.

Apparently, I've implemented:

[FBSession openActiveSessionWithReadPermissions:permissions
                                       allowLoginUI:YES
                                  completionHandler:
     ^(FBSession *session,
       FBSessionState state, NSError *error) {
         [self sessionStateChanged:session state:state error:error];
}];

but initially I've got "error 2" with FBSessionStateClosedLoginFailed after the first logging attempt.

No auth dialog was provided. App initially became inactive in iOS-Settings -> Facebook.

I've tried several solutions, but the setting is disabled by default on any new device with configured Facebook account.

Please, help :)

like image 727
Sergey Pronin Avatar asked Oct 23 '12 12:10

Sergey Pronin


1 Answers

Did you try with Facebook SDK 3.5.1? I have developed a plugin for game developers using the same SDK and none of my plugin user facing this problem.

like image 110
codesnooker Avatar answered Sep 28 '22 05:09

codesnooker