How to access facebook friends leader-board in ScoreBoardService

0 votes

hey, 

I'm using ScoreBoardService to fetch score-board for facebook friends using this function:- "scoreBoardService.GetTopNRankersFromFacebook("Global", access_token, maxUser, callBack)" but it return exception :- "Scores with friends for the game with the name '${name}' does not exist". 

asked Sep 26, 2014 in App42 Cloud API-BaaS by sankalp66.kumar (35 points)

2 Answers

0 votes
 
Best answer
Hello Sankalp,
 
 
The exception message which you have shared is occur due to two reason:
 
1. Your friends does not score in the game 
2. You have save the user score with his fb name instead of Fb id. 
 
So could you please check that what value you have passed in place of username when you are saving the user score in App42 data base.
 
Thanks,
Himanshu Sharma
answered Sep 26, 2014 by hs00105 (2,005 points)
selected Oct 6, 2014 by sankalp66.kumar
0 votes

Hi, sankalp

   You can download the appwarp leaderboard demo form the given link ,

https://github.com/shephertz/social-leaderboard/tree/master/App42Leaderboard

  • Simply add leaderboard library to your project and, change in manifest file give the launcher activity name. to access facebook friend leaderboard.
  • Also check the Mazegame demo to better understanding about it....
  • Very easy to integrate and use.

Thank you,

                                                                                    TARBUNDIYA HITESH

answered Apr 23, 2015 by tarbundiyahitesh21 (81 points)
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...