2017-02-09 13 views

答えて

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 
    } 
}]; 
関連する問題