-
Consider moving from request, request is deprecated
-
You mis spelled challenge in your req.query call to res.send
Should be
res.send(req.query['hub.challenge'])
https://github.com/BarryCarlyon/twitch_misc/blob/master/webhooks/handlers/nodejs/receive.js#L63
You can just do
res.send(req.query['hub.challenge']);
No need to faff with headers
-
You won’t get any posts until you confirm the subscriptions
-
Did your code log the incoming get request and/or did ngrok log it? It’s possible that you hit the ngrok limits. So ngrok is ok for spot tests but best avoided after that