I need to get a new friends statistics and profile immediately after I added the friend to the friendslist with API PlayFabClientAPI.AddFriend. I use FriendTitleDisplayName in the PlayFabClientAPI.AddFriend API call to add the friend to the friendslist.
I use this code to get all friends in the friendslist and their statistics and profile:
var result = await PlayFabClientAPI.GetFriendsListAsync(new GetFriendsListRequest() { IncludeFacebookFriends = false, IncludeSteamFriends = false, ProfileConstraints = new PlayFab.ClientModels.PlayerProfileViewConstraints() { ShowStatistics = true, ShowDisplayName = true, ShowCreated = true, ShowLastLogin = true } }); foreach (var entry in result.Result.Friends) { }
But I don't know which API I should use to get only one friends statistics and profile. Which client API should I use to get only one friends(the currently added new friend) statistics and profile?