Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 564 Bytes

File metadata and controls

28 lines (20 loc) · 564 Bytes

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