I am using Xcode 7.0, testing on iOS 9.0.2 and using the Facebook SDK 4.7.0. Code = 308 "(null)" The problem occurs in iOS 9. I use objective-c code in my project. how to solve it? Below is my code.
FBSDKLoginManager *login = [[FBSDKLoginManager alloc] init]; [login logInWithReadPermissions:@[@"public_profile",@"email", @"user_friends"] fromViewController:self handler:^(FBSDKLoginManagerLoginResult *result, NSError *error){ if ([FBSDKAccessToken currentAccessToken]) { startWithCompletionHandler:^(FBSDKGraphRequestConnection *connection, id result, NSError *error) { if (!error) { } }]; } }];
source share