This project generated with Intelligo cli
.
Set the values in config/default.json
before running the bot. Using your Facebook Page's / App's ACCESS_TOKEN
, VERIFY_TOKEN
and APP_SECRET
ACCESS_TOKEN:
A page access token for your app, found under App -> Products -> Messenger -> Settings -> Token GenerationVERIFY_TOKEN:
A token that verifies your webhook is being called. Can be any value, but needs to match the value in App -> Products -> Webhooks -> Edit SubscriptionAPP_SECRET:
A app secret for your app, found under App -> Settings -> Basic -> App Secret -> Show
Note: If you don't know how to get these tokens, take a look at Facebook's Quick Start Guide .
Install dependencies:
$ npm install
Start your bot server:
$ npm start
To get more help on the Intelligo framework go check out the intelligo README.