This is a boilerplate code demostrating Facebook Messenger Platform integration with a backend based on AWS. The purpose of this boilerplate is to provide a decent starting point for the people who are new to the Facebook messenger platform. The boilerplate is based on Serverless framework
- Clone this repo
- Run
npm install
in the cloned directory - Setup Serverless CLI
- Run
sls deploy
. This will deploy all the components in your configured AWS account. The output of the command will show the HTTP endpoint URLs that get configured. We need these in next step to configured webhooks in FB - Follow Facebook Messenger Getting Started guide to configured your chatbot
That's it. You are setup. Now if you send a message to your page using FB messenger app, it will respond with Pingback: {original message}
Every time Facebook