Created
August 30, 2012 19:22
-
-
Save KellyRice/3538398 to your computer and use it in GitHub Desktop.
kinvey_login_with_facebook
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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