1.4.0 • Published 4 years ago
thinkdigital-fbmessenger v1.4.0
thinkdigital-fbmessenger
Facebook Messenger by Think Digital
Installation
npm install thinkdigital-fbmessenger --save
Uses Rivescript brains which should be placed inside the brain folder.
Usage
Call "getReply(input, recipientId)"
Variable input is the message from facebook.
Variable recipientId is the user from facebook.
This will check the value against the brains and send the reply message automatically to facebook messenger.
Tests
npm install
npm test
Dependencies
- body-parser: Node.js body parsing middleware
- events: Node's event emitter for all engines.
- express: Fast, unopinionated, minimalist web framework
- rivescript: RiveScript is a scripting language for chatterbots, making it easy to write trigger/response pairs for building up a bot's intelligence.
Dev Dependencies
None
License
ISC