答案 0 :(得分:2)
FBSDKLoginManager *login = [[FBSDKLoginManager alloc] init];
[login logInWithReadPermissions: @[PERMISSIONS] fromViewController:self handler:^(FBSDKLoginManagerLoginResult *result, NSError *error) {
if (error) {
NSLog(@"Process error %@", error);
} else if (result.isCancelled) {
// User tap Done
} else {
// Successful login
}
}];