Sign In Register

How can we help you today?

Start a new topic
Answered

Difference between LeaderboardDataRequest and SocialLeaderboardDataRequest

If I use LeaderboardDataRequest with option social:true I'm not getting my connected facebook friends.

{
 "@class": ".LeaderboardDataRequest",
 "dontErrorOnNotSocial": false,
 "entryCount": 5,
  "friendIds": [
  ""
 ],
 "includeFirst": 0,
 "includeLast": 0,
 "inverseSocial": false,
 "leaderboardShortCode": "HSLB",
 "offset": 0,
 "social": true
}

 


If I use SocialLeaderboardDataRequest I do get my connected facebook friends.

{
 "@class": ".SocialLeaderboardDataRequest",
 "dontErrorOnNotSocial": false,
 "entryCount": 5,
 "friendIds": [
  ""
 ],
 "includeFirst": 0,
 "includeLast": 0,
 "inverseSocial": false,
 "leaderboardShortCode": "HSLB",
 "offset": 0,
 "social": false
}

 

What's the difference?


Best Answer

Hi,


SocialLeaderboardDataRequest only returns leaderboard data that contains entries of players that are game friends with the current player.


Thanks,


Oisin


Answer

Hi,


SocialLeaderboardDataRequest only returns leaderboard data that contains entries of players that are game friends with the current player.


Thanks,


Oisin

So what does social:true do on the LeaderboardDataRequest? How is that different?
Login to post a comment