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 Clopay · Mar 29, 2014 at 10:24 PM · facebookleaderboardscoreboard

Openkit Facebook Leaderboard

Hey CommUnity!

I have been trying to incorporate a scoreboard for my mobile game. I've searched every part of the internet and Unity forums that I know of, and I've found every topic on this. So far, I've found they're all incomplete and don't provide sufficient help. So let's figure out a solution!

I have a scores button. When you tap this button, you are prompted to allow access to your friends list (if you're already logged in with the FB app on your phone. If not, you're prompted to log in). Here's where my first problem is:

My game doesn't save Facebook Login. So every time you click the scores button, you're prompted to allow access again. I am using Facebook SDK and its standard functions for this. It functions fine running on Mac, but not when deployed to Android. This was a bug in an earlier verison of the Facebook SDK that has since been "fixed," but I'm still seeing the problem. But if/when I get around this, here's problem #2:

How do I initialize and display a leaderboard? I am experimenting with Openkit SDK. It claims to be an easy-to-use cross-platform system for iOS and Android specifically for social leaderboards, but I've had no luck so far. All I've gotten when following their sparse documentation is my game crashing on loadup. Anyone have any better solutions?

I don't think I'm asking too much, just to display the scores of your friends. A global leaderboard would be cool too, but let's knock that out later.

I'm using a Mac, Unity Remote for Android (Samsung Galaxy S3), Facebook SDK and Openkit SDK.

Any help is much appreciated!

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 getyour411 · Mar 29, 2014 at 10:25 PM 0
Share

Consider posting this on Unity Forum, Collaboration

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by sshukla480 · Apr 19, 2014 at 06:09 PM

App42 Unity SDK allows a developer to save game score of a user and to maintain a leaderboard among the friends in Facebook and that too with global ranks. This is a sample for saving Facebook user score and displaying leaderboard among Facebook friends and also showing the global ranks in a game.

Increase Engagement with Social Leaderboards in Unity and Facebook SDK

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

21 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

Related Questions

How we create multiple leaderboard of facebook without using any other server? 1 Answer

facebook GetPictureURL logs different URLs, but shows same texture2d image 0 Answers

How to use Scores API? 0 Answers

Fb.Feed() not working in android when facebook app is installed 0 Answers

Posting on Facebook from Facebook's application for IOS. How? 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