Facebook SDK - get friends details.

Hello guys.
I’m playing a little bit with the Facebook SDK. I’m able to take the profile picture of the logged user and all the details I need from his profile.
It’s not a big deal, I just have to use this function:

FB.API("/me?fields=id,name,first_name,middle_name,last_name,name_format,birthday,age_range,email,gender,installed", Facebook.HttpMethod.GET, GetUserInfoCallback);

and the SDK will give me all I need (yea, I have to parse the result, but it’s not so bad).
I also know how to get a friends list and also how to query the friends that are playing the same game I’m using.

What I would like to know is: is it possible to have the details of a friend like I did for the logged user?
For example something like

FB.API("/friend?fields=id,name,first_name,middle_name,last_name,name_format,birthday,age_range,email,gender,installed", Facebook.HttpMethod.GET, GetUserInfoCallback);

or a similar way?

Cheers :slight_smile:

Well, actually there is a way:

FB.API("/me?friends.fields(id,name,first_name,middle_name,last_name,name_format,birthday,age_range,email,gender,installed)", Facebook.HttpMethod.GET, GetFriendsCallback);

but I still have not tested it.

Hope this will help someone with the same curiosity :wink: