schatekar / fb-messenger-serverless-boilerplate

A boilerplate for Facebook Messenger platform using Serverless framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

How to use

  1. Clone this repo
  2. Run npm install in the cloned directory
  3. Setup Serverless CLI
  4. 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
  5. 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}

The Architecture

Every time Facebook

Code walkthrough

About

A boilerplate for Facebook Messenger platform using Serverless framework

License:GNU General Public License v3.0


Languages

Language:JavaScript 100.0%