Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by xikky · Jan 27, 2014 at 08:10 AM · facebookhighscoresscores

Facebook API: How to get all app users scores

I cannot find out how to get scores for all users for an App. Meaning not just only the user's friends' score. The idea is to get a top 10 scores from all users of the app.

How can I do this?

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Cafar · Mar 14, 2014 at 12:12 AM 0
Share
  Nobody?
avatar image Greg-Bassett · Jul 22, 2014 at 11:39 AM 0
Share

Did you ever work out how to do this?

avatar image LAFI · Feb 06, 2015 at 01:09 AM 0
Share

have you a solution?? i have the same problem

Thank you

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by carrollh · Feb 06, 2015 at 02:09 AM

EDIT EDIT: Signs point to no. Look at http://stackoverflow.com/questions/7881661/getting-all-users-scores-using-the-facebook-score-api

And after reading the Scores API and similar on fb I found this

https://developers.facebook.com/docs/games/scores

and this https://developers.facebook.com/docs/games/mobile/android-tutorial

which heavily imply that you have to create a leaderboard (and users must be asked for their permission to post to it, at least on Android) before you can get what you want.

EDIT to address Facebook API: Is FB hosting all your data? My game just uses FB tokens for authentication, and all of my data is stored in a Windows Azure mobile services / SQL database. I'm not sure you can do what you want with the limited FB api. I'll keep digging and edit this when I find something.

This completely depends on how the database is set up. There is no way to give you this answer without a lot more detail. I mean from a database table you could simply ask for all users sorted by score (provided you have access to that). But the language and means are completely different between platforms. The SQL-like cases would look something like this:

 SELECT * FROM Users ORDER BY Score DESC;
 

But that is a really expensive function. And you have to set everything up on server side to allow for that.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

23 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

how to make high scores using playerprefs 2 Answers

How to update high scores using PlayerPrefs? 1 Answer

how to creat and scoring and high score system for an endless runner,how do I display my score on a game over scene and also create and high score system for the same ? 0 Answers

In-game high score system 1 Answer

FriendSmash Unity (FB SDK) current users highscore? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges