This is a Botium connector for testing your Facebook Messenger Bots.
Did you read the Botium in a Nutshell articles ? Be warned, without prior knowledge of Botium you won't be able to properly use this library!
Botium uses the Unofficial Facebook Chat API to connect to your chatbot on Facebook Messenger.
It can be used as any other Botium connector with all Botium Stack components:
- Node.js and NPM
- a Facebook Messenger Bot
- a project directory on your workstation to hold test cases and Botium configuration
When using Botium CLI:
> npm install -g botium-cli
> npm install -g botium-connector-fbmessengerbots
> botium-cli init
> botium-cli run
When using Botium Bindings:
> npm install -g botium-bindings
> npm install -g botium-connector-fbmessengerbots
> botium-bindings init mocha
> npm install && npm run mocha
When using Botium Box:
Already integrated into Botium Box, no setup required
{
"botium": {
"Capabilities": {
"PROJECTNAME": "<whatever>",
"CONTAINERMODE": "fbmessengerbots",
"FB_PAGEID": "...",
"FB_USER": "...",
"FB_PASSWORD": "..."
}
}
}
Botium setup is ready, you can begin to write your BotiumScript files.
Set the capability CONTAINERMODE to fbmessengerbots to activate this connector.
Facebook page id
Faceboook username (email)
Facebook password