Skip to content

integrate wit.ai into a facebook messenger bot with node.js

License

Notifications You must be signed in to change notification settings

davidawad/wit-messenger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Messenger API integration // you should have: // * a Wit.ai bot setup (https://wit.ai/docs/quickstart) // * a Messenger Platform setup (https://developers.facebook.com/docs/messenger-platform/quickstart) // You need to npm install the following dependencies: body-parser, express, request. // // 1. npm install body-parser express request // 2. Download and install ngrok from https://ngrok.com/download // 3. ./ngrok http 8445 // 4. WIT_TOKEN=your_access_token FB_APP_SECRET=your_app_secret FB_PAGE_TOKEN=your_page_token node examples/messenger.js // 5. Subscribe your page to the Webhooks using verify_token and https://<your_ngrok_io>/webhook as callback URL. // 6. Talk to your bot on Messenger!

About

integrate wit.ai into a facebook messenger bot with node.js

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published