Skip to content
This repository has been archived by the owner on Jul 23, 2019. It is now read-only.

danillouz/benderobot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Benderobot

Bender the facebook messenger bot.

Proof of Concept and a work in progress.

benderobot

Retro Bender image attribution.

What can Bender do?

Bender can say hello:

bender says hello

Bender can fetch todays most popular posts from Product Hunt:

bender fetches from product hunt

Bender can fetch the "algo" feed from devRant:

bender fetches from devrant

Note that you can't find Benderobot on facebook (yet), so if you want to try it out, you need to run the API yourself by following the instructions. This also means you have to create your own facebook app and page.

Facebook quick start

The API is being built following the quick start quide.

Running the API

The API will run on port 8888 by default and can be run with npm run dev (will restart the API on any change in the source code) or npm start.

Environment variables

Variable Description Required
PORT Port the web server will be running on No
*VERIFY_TOKEN Facebook webhook verification token used to ping the configured URL Yes
*PAGE_ACCESS_TOKEN Facebook page access token used to make authenticated requests using the Send API Yes

* See the facebook quick start quide on how to obtain this token.

Deployment

Recommend way to deploy is using heroku, following the get started guide.

Documentation

TODO

Releases

No releases published

Packages

No packages published