Quantcast
Channel: how to get facebook feeds data - Stack Overflow
Viewing all articles
Browse latest Browse all 2

how to get facebook feeds data

$
0
0

I am trying to get logged in users feeds either the users own feed shown on his wall or the latest feed shown of friends.

i checked out articles and other posts all of them using the old procedure to get the feed which was depricated by Facebook.now i am using this method but didng getting anything

NSMutableDictionary *parameters = [NSMutableDictionary dictionary];parameters[@"access_token"] = [FBSDKAccessToken currentAccessToken].tokenString;FBSDKGraphRequest *request = [[FBSDKGraphRequest alloc]                              initWithGraphPath:@"/me/feed"                              parameters:parameters                              HTTPMethod:@"GET"];[request startWithCompletionHandler:^(FBSDKGraphRequestConnection *connection,                                      id result,                                      NSError *error) {     if (error) {         NSLog(@"%@",error);     }else{        // NSArray* posts = [result objectForKey:@"data"];     }}];

Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images