I'm getting friends ids and names using
mAsyncRunner.request("me/friends", new FriendRequestListener());
but I also need the friends profile pictures. I could loop over the friends to get them, but this is many requests.
Is there any way to get friends ids, names AND pictures in one request?
Thanks
Unfortunately not because friends list is a JSON encoded answer and including all pic would be a huge response.
You have to call http://graph.facebook.com/ + userid + /picture?type=large
(omit ?type=large
if you want small sized version) for every friend.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With