Closed prdpspkt closed 7 years ago
Hi @prdpspkt - I had this difficulty as well. It turns out that facebook-messenger requires that the validation code env variable is named VERIFY_TOKEN
. They have some code that references it, and it is not configurable. Once I changed my env variable from facebook_verify_token
to VERIFY_TOKEN
I was able to get the validation to pass.
That's right, @lbain! You can make it to use something else (either a different environment variable or another source of configuration altogether) by implementing a different configuration provider, but the default configuration provider looks to VERIFY_TOKEN
, APP_SECRET
and APP_TOKEN
.
https://x-team.com/blog/how-to-get-started-with-facebook-messenger-bots/
This is great for help.
Hi, You can solve this problem checking Facebook credentials from app.js and web hook. Also, I made sure the workspace URL "url: 'https://gateway.watsonplatform.net/assistant/api'," it has to be the same as my workspace, it didn't say it in the manual
Claudia Trejo
Hi, I encountered a similar issue: Here is the solution : firstly turnoff your server, type in your verify_token in the main file. Then restart the server. NOw type that verify token in the webhook. It's done. cheers
Can someone help with this? I too am getting this error I have done all of the suggestions in the forum and nothing helps
When I try to add webhooks in app page. This throws above error. But I have entered correct vefiy_token in both app and facebook webhook setup page. What might be the problem.
VERIFY_TOKEN: 'ramro-sathi-varification-code'