How to actually use WebHooks?
Options
Fiercy
✭
Ok, so I am very confused on one thing. I don't know anything about web development so I understand how it should work from Unity and Photon SDK side but apart from that what do I need to do to be able to have a persistent room?
Do I need to buy a domain or something and do I need to set up something? Can someone better explain to me how this whole thing happens?
Wanted to add that I already have persistent room working but I am using the tutorial url and my question is how do I set up my own. Thank you.
Do I need to buy a domain or something and do I need to set up something? Can someone better explain to me how this whole thing happens?
Wanted to add that I already have persistent room working but I am using the tutorial url and my question is how do I set up my own. Thank you.
1
Comments
-
Hi,
yes, basically, you need a (web/http) server, that receives the webhook (HTTP) calls and stores/processes the passed data. That server could be one you host or any other 3rd party service that provides functionality to build a HTTP API.0 -
Thank you. Another question is there any tutorial online that explains how to set up the process of storing and processing the passed data.Markus said:Hi,
yes, basically, you need a (web/http) server, that receives the webhook (HTTP) calls and stores/processes the passed data. That server could be one you host or any other 3rd party service that provides functionality to build a HTTP API.
0 -
Hi @Fiercy,
Thank you for choosing Photon!
I can suggest:
- Persistence Guide
also you can find a bit old implementation examples on our github accounts (look for repos with turnbased or webhooks keywords):
- old account
- new account-1