Advertisement
Guest User

Untitled

a guest
Jul 28th, 2015
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. if ([FBSDKAccessToken currentAccessToken]) {
  2. [[[FBSDKGraphRequest alloc] initWithGraphPath:@"me" parameters:nil]
  3. startWithCompletionHandler:^(FBSDKGraphRequestConnection *connection, id result, NSError *error) {
  4. if (!error) {
  5. NSLog(@"fetched user:%@", result);
  6. }
  7. }];
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement