Demos that use webhooks?

I am having trouble understanding how webhooks work and wanted to know if there was a demo available so I could see it in action. I know it is needed for asynchronous games but I can't quite understand how to apply it.

Best Answer

Answers

  • JohnTube
    JohnTube ✭✭✭✭✭
    edited January 2019
    Hi @EHoops,

    The Memory Demo from Photon Realtime Unity SDK makes use of webhooks and webRPCs.

    We offer a working webhooks demo service right from the webhooks setup.

    On Github you may find example of implementation.
  • EHoops
    EHoops
    edited January 2019
    Great thanks @JohnTube this looks like exactly what I need. my only problem is I can't seem to get it working with the little I've played around with it. I wasn't sure if I needed to have photon Classic downloaded as well? but it was saying I had a lot of duplicate scripts so I didn't import it but keeps sending the error "Assets\photon-unity3d-sdk_v4-1-1-21\demo-turnbased-memory\Assets\PhotonLoadbalancingApi\LoadBalancingClient.cs(1657,58): error CS1503: Argument 1: cannot convert from 'ExitGames.Client.Photon.Hashtable' to 'System.Collections.Hashtable'"
  • Awesome thanks! I've gotten it working now so all I'll need to do is mess around with it and port it to PUN 2!