hub /  jaison /  fb-bot
5 min(s)
180 Pull(s)
Icon

This tutorial consists of a simple facebook messenger bot which, when given a movie name replies back with details about the movie along with a poster image as well as a More Details button. Clicking this button redirects the user to a page with more details on the movie.

For the chat bot to function we'll need a server that will receive the messages sent by the Facebook users, process this message and respond back to the user. To send messages back to the server we will use the graph API provided by Facebook. For the Facebook servers to talk to our server, the endpoint URL of our server should be accessible to the Facebook server and should use a secure HTTPS URL. For this reason, running our server locally will not work and instead we need to host our server online. In this tutorial, we are going to deploy our server on Hasura which automatically provides SSL-enabled domains.

node
nodejs
express
bot
facebook
javascript
messenger
chatbot
messenger-bot
fb-bot
fb

Comments