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?

Ditto to this question. The API makes it seem like the Social specific function is redundant, but from the behavior described here it sounds like the regular request doesn't succeed? How does this also tie in with the AroundMe requests. Specifically for getting around me with my social friends - is that possible? I'll be checking, but does social:true work in AroundMe? Has it been fixed in the regular leaderboard request since this post?


Cheers,


Alan


1 person likes this
Login to post a comment