I am using Xcode 7.0, testing on iOS 9.0.2 and using Facebook SDK 4.7.0. Code=308 "(null)" issue occur in iOS 9.I am using objective-c code in my project. how to resolve this? Below attach 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) {
}
}];
}
}];
