An open API service indexing awesome lists of open source software.

https://github.com/jobsamuel/messenger

A Facebook Messenger Bot demo
https://github.com/jobsamuel/messenger

bot demo messenger-bot messenger-platform

Last synced: 3 months ago
JSON representation

A Facebook Messenger Bot demo

Awesome Lists containing this project

README

          

Zap Zap

[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/jobsamuel/messenger/tree/master)

# messenger
> A Facebook Messenger Bot demo

## pre-requisites

- [Cloud Server](https://m.do.co/c/2f6ba054b7bc) (In case you couldn't deploy your bot in Heroku)
- [Messenger Platform](https://developers.facebook.com/docs/messenger-platform/implementation#setup)

## usage

```bash
$ npm install
$ export VERIFY_TOKEN="your-validation-token"
$ export MESSENGER_TOKEN="your-messenger-token"
$ npm start
```

> **NOTE:** If you decided to use your own server, due to Messenger Platform wouldn't allow you to point your webhook to an IP, you would need to configure a domain with a SSL certificate and then point your app to it.

## tutorial

[Building your Messenger Bot](https://developers.facebook.com/videos/f8-2016/building-your-messenger-bot/)

## license
[MIT License](http://opensource.org/licenses/MIT) :copyright: Jobsamuel Núñez