We are trying to viewing all scores around a player to seeing their Facebook friend's score.When querying GetFriendLeaderboardAroundPlayer, we are only seeing the player's score even though IncludeFacebookFriends is set to true. Both of us have installed the game and logged in to PlayFab via our Facebook accounts and are definitely Facebook friends.How could i fix this?
Beblow is our code
PlayerProfileViewConstraints pc = new PlayerProfileViewConstraints(); pc.ShowAvatarUrl = true; pc.ShowDisplayName = true; var request = new GetFriendLeaderboardAroundPlayerRequest { IncludeFacebookFriends = true, IncludeSteamFriends = false, MaxResultsCount = 10, StatisticName = "Leaderboard", ProfileConstraints = pc }; PlayFabClientAPI.GetFriendLeaderboardAroundPlayer(request, result => { leaderboardItems = result.Leaderboard; int count = 0; print(" Leaderboard count " + leaderboardItems.Count); }
All the player's score are on the leaderboard
The two player's facebook privacy setting are
we provide our relevant informations to you for test
Title ID: 3D47
Statistic ID:Leaderboard
PlayfabID:C7FBD8286E8DA854
PlayfabID:EEF5E467FF4BA24C