Skip to content

Instantly share code, notes, and snippets.

@mamaz
Created August 21, 2013 16:20
Show Gist options
  • Save mamaz/6296651 to your computer and use it in GitHub Desktop.
Save mamaz/6296651 to your computer and use it in GitHub Desktop.
[FBSession openActiveSessionWithReadPermissions:permissions allowLoginUI:YES completionHandler:^(FBSession *session, FBSessionState status, NSError *error) {
FBRequest *met = [FBRequest requestWithGraphPath:@"/me/feed" parameters:nil HTTPMethod:@"GET"];
[met startWithCompletionHandler:^(FBRequestConnection *connection, id result, NSError *error) {
// dapetin result
}];
}];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment