This example shows how to manage eventsub requests in Deno.
Run the function using deno
:
crypto.randomUUID()
export SECRET_KEY=<randomUUID>
You can run the example program on your machine using
deno
:
deno run https://raw.githubusercontent.com/ablause/deno-twitch-eventsub/master/mod.ts
twitch event verify-subscription subscribe -F http://localhost:8000 -s $SECRET_KEY