Skip to content

Instantly share code, notes, and snippets.

@KellyRice
Created August 30, 2012 19:22
Show Gist options
  • Save KellyRice/3538398 to your computer and use it in GitHub Desktop.
Save KellyRice/3538398 to your computer and use it in GitHub Desktop.
kinvey_login_with_facebook
NSString* accessToken = [FBSession activeSession].accessToken;
[KCSUser loginWithFacebookAccessToken:accessToken withCompletionBlock:^(KCSUser *user, NSError *errorOrNil, KCSUserActionResult result) {
if (errorOrNil) {
//handle error
}
}];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment