/botfuel-module-adapter-messenger

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Facebook Messenger Adapter for Botfuel

Installation

In your botfuel project, run :

npm install --save botfuel-module-adapter-messenger

How to use the adapter

Create a new config file in the root directory of your project (eg: messenger-config.js)

module.exports = {
  adapter: {
    name: 'messenger',
  },
  modules: ['botfuel-module-adapter-messenger']
};

Run your bot

BOTFUEL_APP_TOKEN=<YOUR_APP_TOKEN> BOTFUEL_APP_ID=<YOUR_APP_TOKEN> BOTFUEL_APP_KEY=<YOUR_APP_TOKEN> npm start messenger-config.js