Facebook authentication and scoreboard?

Options
I see photon has a custom authentication but I can't seem to find any tutorials on how to do that.The other thing that bothers me is that I don't see any class that could handle a scoring system.If photon doesn't support a scoreboard could someone tell me what should I do to make such?Any help will be seriously appreciated!

Comments

  • Tobias
    Options
    Photon doesn't have highscores but it plays nicely with other middleware that does this. As example: OpenKit and KumaKore both do this.

    In PUN there is a demo "Friends and Custom Auth". The server side is explained here:
    http://doc.exitgames.com/photon-cloud/C ... ntication/

    Hope this helps. Else, let us know where you're stuck.
  • Well I'm trying to make an Android game with Unity and I want people to login with their facebook accounts.Actually I can't understand much of the tutorials given by exitgames.I made the custom auth in the dashboard , but where exactly to put the HTML/javascript code.Are there any more detailed tutorials on how to do this authentication?
  • Markus
    Options
    The tutorial http://doc.exitgames.com/photon-cloud/T ... hFacebook/ is for the JavaScript client SDK. So I think that should answer your question about where to put the HTML/JS.

    We will add some documentation more specific to Unity (export to Android) soon.
  • Tobias
    Options
    I just extended the section about how to use Custom Auth on the client side and added some info about that api in Photon Unity Networking (PUN).
    http://doc.exitgames.com/photon-cloud/C ... entication

    I think that should help.
    The JS demo is for another "platform". You can build Photon-based games and apps also in JavaScript/HTML5 but that has nothing to do with Unity.