OMDb Facebook Messenger Bot
Code

Chatbot Chronicles: OMDb Facebook Messenger Bot

on
August 31, 2018

Chatbots are the next big thing in the hot Artificial Intelligence market.

For the uninitiated, chatbots are artificial intelligence powered (or rule based) computer programs that can mimic human behavior while interacting with actual humans. In simpler words, chatbots are smart programs that can talk to a human in humanly way.

I had a free weekend so I decided to develop such chatbot.

Dozens of APIs and Dozens of Tutorials

I started my chatbot hunt with the Google search, “chatbot tutorial”. Unsurprisingly, I was presented dozens of tutorials.

Heck, few years back when chatbots were relatively unheard of, now there are super smart APIs which can create bots without writing a single line of code.

I found Facebook’s Messenger APIs powerful to work with and  wanted to write some code. Didn’t want to use drag and drop online builders to build the bot.

Soon my search for tutorial with above requirements ended when I found a Sitepoint Tutorial.

About My Bot

It’s Facebook Messenger chatbot that uses Open Movie Database (OMDb) APIs to present details of movies.

Try it out at: http://m.me/1595800180494652

Note: OMDb API has gone private now. The bot may stop fetching movie details. Nevertheless, you can always give it a shot.

Code is open source and can be found at my GitHub: https://github.com/darpandodiya/omdb-fb-bot

 

Technology Stack:

  • Node.js – Backend express server
  • MongoDB – To persist one movie result per user (mlab.com)
  • Heroku Platform – Hosting Node Application (I love the name of servers that Heroku provides. My app is hosted on Serene Reaches)
  • Facebook Messenger APIs

In Action

Action speaks louder than words 😀

GIF:

 

Screenshot 1:

 

Screenshot 2:

 

Screenshot 3:

 

TAGS
RELATED POSTS
1 Comment
  1. Reply

    Vivekkumar Parmar

    August 13, 2017

    Salute to your creativity.

LEAVE A COMMENT

Darpan Dodiya
Raleigh, NC, USA

Hi! I'm Darpan. 23 yr old ex-Software Engineer, now pursuing Master's in Computer Science at NC State, USA. This is my personal blog to share my interests in travelling, photography, programming and life. Glad to see you here, have a look around the website, you'll enjoy. Drop a comment or reach out to me or get connected via links below. Have a good day! :)

Lookup
Subscribe to Newsletter
Topics
Subscribe YouTube Channel
Work Together

Are you an individual, business, organization, tourism agency or government department? We can work together.

We can work with content creation, photoshoot, event photography, cinematic video production, web/software development, digital marketing, documentary, short film.

Let’s discuss. Contact details can be found here.

Ads & Promotion

Please visit the advertisement/guest posts page for details regarding promotions.