Im sending the hub.challange back with text/plain header ( i try it without header too ) but when i check my subscriptions its “0” whats wrong also i cant get POST request’s from webhooks too
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'])
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
Yes its working rn thanks, and i dont understand why challenge works instead of “challange” cause im getting an token at console.log(req.query["hub.challenge"]," challange code")