question

brendan avatar image
brendan asked

Global and Facebook friend leaderboards

Question from a developer:


We're working on a game where we want to show the user leaderboards, but we want them to be only global (all players in the game) and Facebook friends. Is that possible?

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, absolutely. If you don't use the PlayFab friend system (Client/AddFriends, etc.), and call GetFriendLeaderboardAroundCurrentUser, GetFriendLeaderboardAroundPlayer, or GetFriendLeaderboard with IncludeFacebookFriends set to true, the only people the player will be able to see on the leaderboard would be Facebook 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.

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.