I am not getting the scores of my facebook friends in the FaceBook LeaderBoard.

0 votes
Hello ,

 

I have downloaded the FaceBook sample from

http://blogs.shephertz.com/2013/11/29/increase-engagement-with-social-leaderboards-in-unity-and-facebook-sdk/#more-3384

and followed all the steps for integration.

I am able to login to faceBook and see my score perfectly but I am not able to see my friends in the leaderBoard.

I have made my friend login , in the same app and posted his score , but my score is not being displayed now.

I am also not getting the global leaderboard populated. (Which is not important for me at present as I want to display only faceBook LeaderBoard).

I am testing this app in android device, I can't see Debug.Log() messages from here.

 

What 's the solution to get the leaderBoard of all FaceBook friends who have installed My  Game?

 

Also , Is there any way I can see the list of the scores posted by all users who installed my game in the

App DashBoard.
asked Jun 20, 2014 in App42 Cloud API-BaaS by ysrikanth2011 (10 points)
edited Jun 20, 2014 by ysrikanth2011

1 Answer

0 votes

Hi Srikanth,

Could you please send me the log of Android logcat.

After running the sample in the debug mode of your Android device. Make sure your device debugging mode is ON.

answered Jun 20, 2014 by naresh (350 points)
Here is the logcat information :

pastebin.com/8ARbcNLw


Another issue is it is asking me to login the second time after logging in. How to resolve this?
Hi,
Firstly, tell me that How are you saving your friends score? In Facebook Leaderboard when you save your friend score you must pass Facebook id rather than a username.
Hi,

Actually I have logged in my device and posting score from My game . My Friend has logged in from another device and he is posting score from his device.
Both of us has installed the same game , so each score is being pushed separately.
 I  don't want to update score of my friend . I want the functionality to update each one's score separately but combined leaderboard's of all the players can be seen.
But the leaderBoards are being updated for one user only . From my friend's device he is able to see only his score and In my device I am able to see my score only.
hi,
 Share us snapshot of AppHQ (Business Service Manager->Game Service ->ScoreBoard)  . Make sure both users are available there.
Hi,

Actually there is nothing stored in here . It is completely empty.
https://dl.dropboxusercontent.com/u/70903877/Forums/ScoreBoard.PNG
Hi,

You need to select the game for which you are finding the leaderboard in your app.

Thanks.
Hi ,

Sorry for My Ignorance . Here you go :
https://dl.dropboxusercontent.com/u/70903877/Forums/ScoreBoard.PNG
Hi,
We are looking on it.
Let you know when ever it has been replicated. Its look like something has wrong with facebook permission under 2.0 version.
Thanks.
same here, the Score board show only me. Please double check (Unity3d)
oh, just change line 170 in FBLeaderBoard.cs

FB.Login("email");

to this:

FB.Login("email,public_profile,user_friends");
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
...