Helllo,
TitleID - BEC6
I am using Unity and FacebookSDK with LoginwithFacebook.
I was trying to get AvatarUrl, but it is return null.
In client profile options checked avatar url.
Also I have set the ProfileConstraints show avatar url = true;
I have no idea what did I miss. Displayname work fine for me.
public void displayLeaderBoard() { var request = new GetFriendLeaderboardRequest(); if(request == null) { Debug.Log("The data is null"); } else { request.StatisticName = "score"; request.IncludeFacebookFriends = true; request.MaxResultsCount = 10; request.StartPosition = 0; request.ProfileConstraints = new PlayerProfileViewConstraints() { ShowDisplayName = true, ShowAvatarUrl = true, ShowLastLogin = true }; } PlayFabClientAPI.GetFriendLeaderboard(request, OnRequestSuccess, OnRequestFail); }