Leaderboard service unique usernames with facebook

0 votes

I have already integrated facebook unity sdk with my game being developed on Unity game engine. I am trying to integrate app42 leaderboard service, but adding scores by a user takes only username into account. In this case, if  two facebook users with same usernames save scores. The table with have entries with same username.

How to determine the user when retrieving the scores back?


Thanks in advance! :)
asked Jan 21, 2015 in App42 Cloud API-BaaS by codeandart.games (21 points)

1 Answer

+1 vote
Best answer


You can easily solve this by using Facebook id of user to save the scores of user because FB id is always unique for your app. And save the user information(like Fb Name, profile picture etc) in storage service to fetch it back into the app for displaying the Leader-board.
Please have a look at this blog post which will help you to understand all the process & let us know if you have more question for us.
Himanshu Sharma
answered Jan 22, 2015 by hs00105 (2,005 points)
selected Jan 22, 2015 by codeandart.games
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