Initializing Helix User New Follow Webhook

As others have said, yes, you need to properly handle the reqiest twitch sends to the endpoint you provided. I myself have used the following two methods to receive said callbacks for different purposes:

  • A cgi Script. Cgi stands for “common gateway interface” and is the most basic way of executing scripts serverside, but is basically as old as the internet and has some inherent flaws, so i recommend only using it if the others dont work for you. Though its advantage is that you can basically use any programming language that supports cgi, which ranges from java to python to c#, (this is not a complete list)
  • A node.js application. That’s the more modern way to do it, and as i know how to google it was not too hard to set up to work even alongside apache2 to redirect requests on port 80. This locks you to javascript, but has a lot of neat and easy libraries

Do note, that in whatever way you want to do this, this will be an application running on a Server, not within your unity app, so you will have to manually use a custom app of your own which connects your players/users together and sends them information.

As you are looking into this, i assume you need live updates of follows - if you dont and just want to check for them periodically, use the normal api endpoints, that’s what they’re for.

Hope this helps~
Maren