Iphone 如何在fb中获取好友个人资料图片

Iphone 如何在fb中获取好友个人资料图片,iphone,facebook-graph-api,Iphone,Facebook Graph Api,我已经使用fb graph api(上述请求)访问了我应用程序中的好友列表, 但我无法获得朋友的个人资料图像。如何获取它?获取用户的id(或刻痕),并从 无需任何授权即可工作。 小样本: FB_Graph_Response = [FB_Graph doGraphGet:@"me/friends" withGetVars:nil]; // NSLog(@"%@",[FB_Graph_Response.htmlResponse JSONValue]); arrFriendsList = [[

我已经使用fb graph api(上述请求)访问了我应用程序中的好友列表, 但我无法获得朋友的个人资料图像。如何获取它?

获取用户的id(或刻痕),并从
无需任何授权即可工作。
小样本:

FB_Graph_Response = [FB_Graph doGraphGet:@"me/friends" withGetVars:nil];

//  NSLog(@"%@",[FB_Graph_Response.htmlResponse JSONValue]);


arrFriendsList = [[[FB_Graph_Response.htmlResponse JSONValue]objectForKey:@"data"]retain];
NSString id = getTheIdOrNick;
NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:@"https://graph.facebook.com/%@/picture", id]];
NSData *data = [NSData dataWithContentsOfURL:url];
UIImage *image = [UIImage imageWithData:data];
//UIImageView *imgView = [[UIImageView alloc]init];
//imgView.image = image;