-
I am running my server for Twitch eventsub locally!
- so if it crashes...I have to unsub to all my events:
-
restart on ngrok on 8080
ngrok http 8080
- Open the Twitch Dev Console and update the Ngrok callback URL
- list all previous subs, and grab the IDs
cd code/eventsub-python-fun
./list.sh | jq -r ".data[].id"
-
Take the IDs and update the unsub.sh script with the IDs
-
Run the unsub.sh script
./unsub.sh
- Update the sub scripts NGROK URL and resub
./sub.sh
Run the Webserver
python main.py
cd code/eventsub-python-fun
source venv/bin/activate