$ npm install intelligo-cli -g
Create the your bot project:
$ intelligo mybot
$ cd mybot
Set the values in
config/default.json before running the bot. Using your Facebook Page's / App's
ACCESS_TOKEN:A page access token for your app, found under App -> Products -> Messenger -> Settings -> Token Generation
VERIFY_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 Subscription
APP_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 .
$ npm install
Start your bot server:
$ npm start
To check out docs, visit intelligo.js.org.