Advertisement
Guest User

Untitled

a guest
Sep 12th, 2014
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. NSArray *readPermissions = @[@"email",@"id",@"name"];
  2.  
  3. return [FBSession openActiveSessionWithReadPermissions:readPermissions
  4. allowLoginUI:allowLoginUI
  5. completionHandler:^(FBSession *session, FBSessionState state, NSError *error) {
  6. if (error) {
  7. NSLog (@"Handle error %@", error.localizedDescription);
  8. } else {
  9. [self checkSessionState:state];
  10. }
  11. }];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement