How do I submit a score for a Facebook User

0 votes

Hi there,

I am trying to submit a score for a Facebook user.

I Login in with Facebook and I can retrieve the Facebook ID and I use where userName is the Fb userID

                        socialService.LinkUserFacebookAccount(userName, AccessToken.CurrentAccessToken.TokenString, new CallBackAddSocialUser());   

and I can see the facebook user now in the dashboard with the profile picture.


How do I submit this as a score though?

Im using scoreboardService.SaveUserScore(a_level, userName, a_score, new CallBackScoreSubmit());

but what I see as the name is the Facebook user ID

I would expec to see the Facebook user name. 

So my question is whats the correct way to submit a score from a Facebook user


asked Jul 6, 2016 in Unity by markfennell (15 points)
recategorized Jul 7, 2016 by shepAdmin

1 Answer

0 votes

Hi Mark,


Thanks for writing to us.

In order to save user score for Facebook friends, you have to pass the Facebook Id in place of username and save the meta information of that user in storage service along with that method.

Please have a  look at this blog post which help you to understand the integrating of saving meta information and feel free to write us, if you need any help from our side. 

We are happy to assist you!



Himanshu Sharma

answered Jul 7, 2016 by hs00105 (2,005 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