1.4.0 • Published 4 years ago

thinkdigital-fbmessenger v1.4.0

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

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

1.4.0

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago