Код: Выделить всё
FBRequest *friendsRequest = [FBRequest requestWithGraphPath:[NSString stringWithFormat:@"%@?fields=cover,first_name,last_name,relationship_status,feed", self.friendID] parameters:[[NSMutableDictionary alloc] initWithObjectsAndKeys:@"en_EN", @"locale", nil] HTTPMethod:nil];
[friendsRequest startWithCompletionHandler: ^(FBRequestConnection *connection,
NSDictionary* result,
NSError *error) {
postsArray = [[NSMutableArray alloc] initWithArray:[result valueForKeyPath:@"feed.data"]];
[tableView reloadData];
NSLog(@"Data found: %@", [result description]);
NSLog(@"Posts: %i", postsArray.count);
}];
Подробнее здесь: https://stackoverflow.com/questions/136 ... cebook-api
Мобильная версия