Bender the facebook messenger bot.
Proof of Concept and a work in progress.
Retro Bender image attribution.
Bender can say hello:
Bender can fetch todays most popular posts from Product Hunt:
Bender can fetch the "algo" feed 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.
The API is being built following the quick start quide.
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
.
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.
Recommend way to deploy is using heroku, following the get started guide.
TODO