Sign In Register

How can we help you today?

Start a new topic
Answered

Social leaderboard not working with real Facebook-user accounts

 Hi,


I have created a leaderboard system using Facebook-authentication and it seems to be working fine with Facebook-generated test user accounts. However, it doesn't seem to work with real Facebook-accounts. SocialLeaderboardDataRequest only returns player's leaderboard entry, the response contains no Facebook-friends playing the game. This works perfectly with Facebook -test users. Any ideas what might be causing the issue? Any ideas how to start debugging it?


Best Answer

Just needed to add permissions for login which was different from pre-authenticated test users.

FB.LogInWithReadPermissions(new string[] { "public_profile", "email", "user_friends" }, ...);


Answer

Just needed to add permissions for login which was different from pre-authenticated test users.

FB.LogInWithReadPermissions(new string[] { "public_profile", "email", "user_friends" }, ...);

Hey Paavo,

Thats a common pain with the FB SDK. Good to hear you got it working.
Let us know if you need help with anything else.

-Sean

 

Login to post a comment