I downloaded the new Facebook iOS SDK 3.1 , which promises has a built-in login prompt . I launched the registration application on my iOS 6 device. When I tried to connect to Facebook, I did not get my own login. Instead, the Facebook application launches in the same way as the old SDK. Their Facebook login button basically does this:
[appDelegate.session openWithCompletionHandler:^(FBSession *session, FBSessionState status, NSError *error) { [self updateView]
I thought the sample code did not call the correct function. So I tried FBSession another login function.
[appDelegate.session openWithBehavior:FBSessionLoginBehaviorWithNoFallbackToWebView completionHandler:^(FBSession *session, FBSessionState status, NSError *error) { [self updateView]
I tried all possible behaviors, and none of them pulled out an invitation for my own entry.
Pwner source share