ngrok callback URL validation failed

628 Views Asked by At

I'm new to chatbot using node, i'm creating a chatbot and using ngrok for tunelling. When i try to setup webhooks on facebook messenger the callback URL validation fails.enter image description here

check images for reference

enter image description here

1

There are 1 best solutions below

0
On

I was also having the same issue. It is because of ngrok inserts some special characters inside URL and also creates with http may be. So, I am using localtunnel instead of ngrok and it works with ease as well as we can create our desired subdomain with this package. The steps to install localtunnel are

npm install -g localtunnel
lt -s chatbot-subdomain -p PORT

It will create a URL https://chatbot-subdomain.localtunnel.me which you can use inside facebook developer platform.