Please don't forget to add your tokens inside the Secrets part in the sidebar
The Secret Environment Variables should contains the following items:
| key | value |
|---|---|
| NODE_ENV | production |
| PAGE_ACCESS_TOKEN | page access token from facebook |
| VERIFY_TOKEN | your generated random string |
| APP_SECRET | app secret from facebook |
| WIT_TOKEN | WIT token from wit.ai |
In the facebook developer page -> select your app in messenger product -> select parameter -> you can find register hook part. Enter the url of your bot and verify token.
In the facebook developer page -> select your app in messenger product -> select parameter -> you can find your page id. just copy the page id and replace it