DEV Community

Discussion on: Twitch notifications (part one): How to handle real-time events from Twitch

Collapse
 
aydrian profile image
Aydrian

Hi Douglas. I'm doing well. Thank you.
What operating system are you using? This should work in unix based terminals.

You can also do this in 2 steps. First, you can set the environment variable by just entering TWITCH_SIGNING_SECRET=purplemonkeydishwasher into the terminal. You can check it my then entering ECHO $TWITCH_SIGNING_SECRET in the terminal and it should respond with purplemonkeydishwasher. Then you can run node index.js.

I hope this helps. I'm working on an update coming soon where I have it running in a Netlify function.