Send an http request when x amount of bits are gifted?

I would like to send an http request when the streamer gets x amount of bits.
How would I go about doing that? Do I create an extension or make an application that listens for an event? In this case would this be what I need to use?
I haven’t done stuff with Twitch yet so I’m not quite sure where difference between an extension and an application is.

Thanks in advance , hope this is the right place to ask :slight_smile:

Sure EventSub would world.

Bits/cheer events are sent to

  • chat
  • pubsub
  • eventsub (either transport)

To send a HTTP request, the optiomal solution is the following, in my opinion.

You use EventSub Webhook Transport
When a Cheer event occurs Twitch will send a HTTP POST request to your Server.
You process that response and then make a HTTP request to your other thing with the required format.

For this use case you just need an Application.

An Extension si for when you want to add an iFrame to a Twitch page to add functionality. And that doesn’t seem to be what you need

1 Like