2013-08-03 90 views

回答

0

授權東西后...

試試這個要求..

[facebook requestWithGraphPath:@"[friend_id]/friends" andDelegate:self]; 

你會得到任何朋友的朋友..

+0

不,它不工作。 – Venkat

0

這是最新SDK 2.8

FBSDKGraphRequest *request = [[FBSDKGraphRequest alloc] 
           initWithGraphPath:@"/{user-id}/friendlists" 
             parameters:params 
             HTTPMethod:@"GET"]; 
[request startWithCompletionHandler:^(FBSDKGraphRequestConnection *connection, 
             id result, 
             NSError *error) { 
    // Handle the result 
}]; 
相關問題