Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 DMHMikeCook · Feb 01, 2017 at 09:14 AM · androidfacebooksdkleaderboardcompare

Facebook friends leaderboard (Android)

I've been searching all over for a solution to this and have had no luck so far.

I'd like to have a leaderboard that compared scores between facebook friends. I've already got the facebook login working, but I can't for the life of me get a scoreboard working. All the solutions I've found are outdated, and there doesn't even seem to be a purchasable solution on the asset store.

This page: https://developers.facebook.com/docs/games/services/scores-achievements leads me to believe it's an intended function of the Scores API, but I can't for the life of me find a working example anywhere (including the one facebook gives, as it was last updated in August)

Any help or even just a nudge in the right direction would be greatly appreciated, as this has been the only real hangup in the development of our game thus far.

Thanks!

Comment
Add comment · Show 1
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 DMHMikeCook · Feb 13, 2017 at 04:51 PM 0
Share

Still looking for a current solution to this problem, as there is see$$anonymous$$gly a way built-in to do this without a custom server as @FortisVenaliter mentioned.

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by FortisVenaliter · Feb 01, 2017 at 07:23 PM

Best thing I can think of would require you to code a custom server. It could save the high scores with User IDs. Then, when you cross-reference with the facebook friends, you could request the high scores from members that also have a facebook ID linked to the game from the server.

It's probably possible to do that P2P without a server, but that would be a whole separate mess.

Comment
Add comment · Show 1 · 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
avatar image DMHMikeCook · Feb 01, 2017 at 08:27 PM 0
Share

Check out this page: https://developers.facebook.com/docs/games/services/scores-achievements

Specifically the "Create or update a player's score" section has lead me to believe it's possible to achieve a leaderboard without all of that custom setup. $$anonymous$$aybe I'm misreading, but I've also found old tutorials that claim to do just that, but there is nothing current available that explains how to do it.

avatar image
0

Answer by todorv · Feb 17, 2017 at 08:24 AM

@DMHMikeCook you should watch the tutorial made by GreyZoned on youtube. It is outdated but I managed to make it work by changing some lines. Just read the errors.
This is the link https://www.youtube.com/watch?v=2Xt5ae7GUx8&t=375s

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

7 People are following this question.

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

Related Questions

Facebook Login - Android 1 Answer

Facebook Android Studio 0 Answers

App Link URL for Facebook App Invite 1 Answer

Facebook SDK(android) - error 1 Answer

PlayFabTitleId is null. 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