Feature Request: Friend Only Leaderboard

153 views
Skip to first unread message

Aaron Sarazan

unread,
Jun 29, 2018, 3:18:03 PM6/29/18
to firebase-unity-solutions
Hey guys, I'm really excited that you're taking on this challenge!

I'd love it if the leaderboard implementation had optional integrations for Facebook, Twitter, and/or Phone Number to support a friends-list style leaderboard. It's one of the trickiest problems I've had to solve in my code, and I often end up rewriting it on each new game I create.

Keep up the good work!

Dane Liergaard

unread,
Jun 29, 2018, 5:41:39 PM6/29/18
to Aaron Sarazan, firebase-unity-solutions
Interesting idea, I think the way to do this would be by incorporating Firebase Auth into the project as well. I'll create a feature request for this. Thanks!

--
You received this message because you are subscribed to the Google Groups "firebase-unity-solutions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-unity-sol...@googlegroups.com.
To post to this group, send email to firebase-uni...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-unity-solutions/3bd8f237-b08d-4c62-ac19-ad5e8b351377%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

oyunde...@gmail.com

unread,
Jun 9, 2019, 1:28:04 PM6/9/19
to firebase-unity-solutions
Hello,

Im working on for a while about firebase and facebook friends leaderboard. How can I make a score system that will show scoreboard to all of the friends on facebook with firebase. I couldnt any resources about it. I wonder anyone can help me ?

30 Haziran 2018 Cumartesi 00:41:39 UTC+3 tarihinde Dane Liergaard yazdı:
Interesting idea, I think the way to do this would be by incorporating Firebase Auth into the project as well. I'll create a feature request for this. Thanks!

On Fri, Jun 29, 2018 at 12:18 PM Aaron Sarazan <aaron....@gmail.com> wrote:
Hey guys, I'm really excited that you're taking on this challenge!

I'd love it if the leaderboard implementation had optional integrations for Facebook, Twitter, and/or Phone Number to support a friends-list style leaderboard. It's one of the trickiest problems I've had to solve in my code, and I often end up rewriting it on each new game I create.

Keep up the good work!

--
You received this message because you are subscribed to the Google Groups "firebase-unity-solutions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-unity-solutions+unsub...@googlegroups.com.

Dane Liergaard

unread,
Jun 11, 2019, 1:36:20 PM6/11/19
to oyunde...@gmail.com, firebase-unity-solutions
Hello, and thanks for checking out this solution - if it wasn't clear, this group is centered around this repository, which gets you halfway there to solving this problem.

The missing component - getting the scores exclusively for Facebook friends, would require the following steps:

1. When submitting new scores, use the friend-visible Facebook user ID (I would try the Facebook authentication option using Firebase Auth)
2. Add the Firebase_Leaderboard solution from that repo to the project.
3. Retrieve the list of a user's Facebook friends, preferably filtered down to those who have authenticated in the game. This would have to be done via Facebook's APIs, which I'm not very familiar with.
4. Extend the FirebaseLeaderboard MonoBehaviour to accept a list of User ID's (those friend ID's) for which to retrieve high scores. It already has an example of doing this for a single User ID at GetUserScore, so that would be the part to extend.

If you decide to do this and you would like to contribute your code to this repository, please feel welcome to submit a PR with your changes, new contributors are more than welcome!

I am also available for more in-depth design discussions via this group, as this is just an overview. If you need further help with Firebase, Unity, or other Google Cloud Platform topics, please feel free to respond to this or start a new thread. 

Best,
DZ

On Sun, Jun 9, 2019 at 10:28 AM <oyunde...@gmail.com> wrote:
Hello,

Im working on for a while about firebase and facebook friends leaderboard. How can I make a score system that will show scoreboard to all of the friends on facebook with firebase. I couldnt any resources about it. I wonder anyone can help me ?

30 Haziran 2018 Cumartesi 00:41:39 UTC+3 tarihinde Dane Liergaard yazdı:
Interesting idea, I think the way to do this would be by incorporating Firebase Auth into the project as well. I'll create a feature request for this. Thanks!

On Fri, Jun 29, 2018 at 12:18 PM Aaron Sarazan <aaron....@gmail.com> wrote:
Hey guys, I'm really excited that you're taking on this challenge!

I'd love it if the leaderboard implementation had optional integrations for Facebook, Twitter, and/or Phone Number to support a friends-list style leaderboard. It's one of the trickiest problems I've had to solve in my code, and I often end up rewriting it on each new game I create.

Keep up the good work!

--
You received this message because you are subscribed to the Google Groups "firebase-unity-solutions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-unity-sol...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "firebase-unity-solutions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-unity-sol...@googlegroups.com.

To post to this group, send email to firebase-uni...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


--
Dane Zeke Liergaard
Cloud DevRel, Gaming
Seattle
Message has been deleted

lalid...@gmail.com

unread,
Aug 27, 2019, 10:30:57 PM8/27/19
to firebase-unity-solutions
Reply all
Reply to author
Forward
0 new messages