Skip to content

Botfuel/botfuel-module-adapter-messenger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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