This is a simple Facebook Messenger bot that allows you to first search for a movie by name, then view the actors for that movie.
It uses Botkit and Serverless (AWS Lambda) to power it. In order to connect with IMDB, it uses the OMDB NPM package.
The preview below shows the bot in action, returning with a structured Messenger payload allowing you to see the name of the movie, its poster (if it has one) as well as its year of release.
$ npm install -g serverless
- Clone this repository and navigate to it.
- Set environment variables for a
VERIFY_TOKEN
. $ serverless deploy
.- Follow Facebook's Getting Started guide for creating a new App and Page.
- Using the URL of the API Gateway, connect the bot to the app.