NodeJs Express, Diagflow AI, Facebook Messenger
A chatbot AI helper starting point application
Checkout this repo, install dependencies, configure, then start the app.
$ git clone git@github.com:fernandedios/nodejs-chabot-ai.git
$ cd nodejs-chabot-ai
$ npm install
-- configure app
$ npm start
This web application requires the following as starting point:
{
"dev": {
"FB_PAGE_TOKEN": "your_facebook_page_token",
"FB_VERIFY_TOKEN": "your_facebook_verify_token",
"API_AI_CLIENT_ACCESS_TOKEN": "your_diagflow_ai_access_token",
"FB_APP_SECRET": "your_facebook_app_secret",
"SERVER_URL": "http://localhost:5000"
}
}
Save as 'keys.json' and place it inside the config folder.
You will need to add the following environment variables to your production host
FB_PAGE_TOKEN,
FB_VERIFY_TOKEN,
API_AI_CLIENT_ACCESS_TOKEN,
FB_APP_SECRET,
SERVER_URL
nodejs-chabot-ai* © 2018, Fernan de Dios. Released under the MIT License.
fernandedios.com · GitHub @fernandedios · Twitter @fernan_de_dios