https://github.com/pmuens/serverless-facebook-messenger-bot
Serverless Chatbot for the Facebook Messenger platform
https://github.com/pmuens/serverless-facebook-messenger-bot
Last synced: 4 days ago
JSON representation
Serverless Chatbot for the Facebook Messenger platform
- Host: GitHub
- URL: https://github.com/pmuens/serverless-facebook-messenger-bot
- Owner: pmuens
- Created: 2016-10-07T17:12:29.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-10-11T21:01:00.000Z (about 9 years ago)
- Last Synced: 2025-06-01T02:59:42.947Z (5 months ago)
- Language: JavaScript
- Homepage: http://serverless.com
- Size: 5.86 KB
- Stars: 36
- Watchers: 4
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Serverless Facebook Messenger Bot
Serverless service which provides you a basic Facebook Messenger Chatbot scaffold.
## Installation
Make sure that you use Serverless v1.
**Note:** You might want to look take a look at the Facebook Messenger Platform [quickstart guide](https://developers.facebook.com/docs/messenger-platform/quickstart) or the Facebook Messenger Platform [in-depth documentation](https://developers.facebook.com/docs/messenger-platform/product-overview/setup).
1. Run `serverless install --url https://github.com/pmuens/serverless-facebook-messenger-bot` to install the service in your current working directory
2. Next up cd into the service with `cd serverless-facebook-messenger-bot`
3. Run `npm install` to install all the necessary npm packages
4. Setup your Facebook Messenger Chatbot app
5. Setup the Facebook Fanpage for your Chatbot
6. Connect the Facebook Fanpage with the Facebook Messenger app
7. Replace the `accessToken` variable in the `handler.js` file with your Fanpage token
8. Run `serverless deploy` to deploy your chatbot
9. Chat with the bot through the Fanpage (or your Facebook Messenger app on your smartphone)## AWS Services used
- Lambda
- API Gateway