I am trying to get statistics from the GetFriendsList API call, but the Profile of each friend is null so I cannot access the statistics. I've checked under each friend and they all have statistics. Why is this the case?
I am trying to get statistics from the GetFriendsList API call, but the Profile of each friend is null so I cannot access the statistics. I've checked under each friend and they all have statistics. Why is this the case?
For a Client API call that gets profile data, you need to define which profile elements the client is allowed to query via the Settings->Client Profile Options page.
I just added Statistics as an allowed profile element but I still am not able to access it. How long does it take for the modification to take effect?
What Title ID and PlayFab IDs are you using for the test, so that we can have a look?
Is there a way to privately contact you (email)? I don't want to post the Title ID publicly.
Ah I see, thank you
Title ID: BD66
PlayFab IDs: 2D59B8F44EDD74F, EFBD4E2FE7BBE782, 4F541FB2F83DB01B
What are the specific parameters you're passing into the query, and what profile are you logged into at the time? One thing to note is that the last of those accounts has no one in its friends list: https://developer.playfab.com/en-US/BD66/players/4F541FB2F83DB01B/friends.
Logged into: EFBD4E2FE7BBE782 and trying to statistics from friendlist.
I'm trying to get entry.Profile, where entry is a PlayFab.ClientModels.FriendInfo
entry.Profile returns null and entry.Profile.Statistics returns a NullException
2 People are following this question.