Tuan Anh Vu Tuan Anh Vu - 1 year ago 131
iOS Question

Facebook Graph API mutual friends images

I'm able to retrieve users' mutual friends using

but I need to display images of the friends. However, I'm only getting back the friends id and name only. Is it possible to retrieve their images in the same call?

if((FBSDKAccessToken.current()) != nil){
FBSDKGraphRequest(graphPath: "/\(userID)", parameters: ["fields": "context.fields(mutual_friends)"]).start(completionHandler: { (connection, result, error) -> Void in
if (error == nil){

print("//////Mutual friends")

} else {

Answer Source

You can get the image with using this API


For more info check this

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download