Serverless service which provides you a basic Facebook Messenger Chatbot scaffold.
Make sure that you use Serverless v1.
Note: You might want to look take a look at the Facebook Messenger Platform quickstart guide or the Facebook Messenger Platform in-depth documentation.
- Run
serverless install --url https://github.com/pmuens/serverless-facebook-messenger-bot
to install the service in your current working directory - Next up cd into the service with
cd serverless-facebook-messenger-bot
- Run
npm install
to install all the necessary npm packages - Setup your Facebook Messenger Chatbot app
- Setup the Facebook Fanpage for your Chatbot
- Connect the Facebook Fanpage with the Facebook Messenger app
- Replace the
accessToken
variable in thehandler.js
file with your Fanpage token - Run
serverless deploy
to deploy your chatbot - Chat with the bot through the Fanpage (or your Facebook Messenger app on your smartphone)
- Lambda
- API Gateway