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.
Asked
Active
Viewed 540 times
0

Selmi Karim
- 2,135
- 14
- 23

Rohit Changediya
- 31
- 3
-
Did you try with http in facebook developper instead https ? If it's not this we'll need your NodeJS code to find the solution. – F Blanchet Nov 09 '18 at 18:31
1 Answers
0
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.

Jawad Akram
- 29
- 5