question

gamingbigfoot avatar image
gamingbigfoot asked

How do I get the AvatarURL of my friends when retrieving my friend's list?

Im using the AvatarURL field to set the player's avatar image (of course!).

When i retrieve my friends using PlayFabClientAPI.GetFriendsList, the FriendInfo I get back doesnt include that field. How can I do that? or why isnt that field not being returned??

It's weird, because when you do a GetFriendsLeaderboard, you CAN get that image.

Thanks

Friends
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
brendan avatar image
brendan answered

Yes, the leaderboard returns profile info, while the friends list request returns friend info, which doesn't currently contain the Avatar URL. The best solution overall would be to provide a way to request the player profile information in the friend request, as well. I'll add a backlog request for that. For now, the friends leaderboard would indeed be the way to get that info.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.