bestcourses is supported by learners. When you buy through links on our website, we may earn an affiliate commission. Learn more

How To Build A Facebook Messenger Chat Bot From Scratch

Learn to create your own messaging chatbot

4.3 / 5.0
15786 students1 hours 19 minutes

Created by Bluelime Learning Solutions, offered on Udemy

bestcourses score™

Student feedback


To make sure that we score courses properly, we pay a lot of attention to the reviews students leave on courses and how many students are taking a course in the first place. This course has a total of 15786 students which left 75 reviews at an average rating of 4.3, which is average.

Course length


We analyze course length to see if courses cover all important aspects of a topic, taking into account how long the course is compared to the category average. This course has a length of 1 hours 19 minutes, which is pretty short. This might not be a bad thing, but we've found that longer courses are often more detailed & comprehensive. The average course length for this entire category is 7 hours 30 minutes.

Overall score


This course currently has a bestcourses score of 6.6/10, which makes it an average course. Overall, there are probably better courses available for this topic on our platform.


The latest craze in software interfaces is messenger bots, and Facebook has the largest chat platform by a long shot.
In this course, I’ll show you how to build your own Facebook Messenger Chat Bot using node js. We’ll use git to push and deploy our local  JavaScript code  to heroku cloud. We will be creating  a package .json file and installing some dependencies that our chatbot app will need.

If you don’t already have one, you need to create a Facebook account and a facebook Page.The Facebook Page is the “identity” of your bot, including the name and image that appears when someone chats with it inside Facebook Messenger.
 In order to communicate with your bot, people will need to go through your Page.

This is a hands-on practical course and what you will learn includes:

What is Heroku
Creating Heroku account
Creating  a facebook page and app -Part 1
Creating  a facebook page and app -Part 2
Creating Heroku app
Creating .gitignore file
Creating function for bot to post messages -Part1
Creating function for bot to post messages -Part2
Creating a Procfile
Creating callback function for chatbot -part1
Creating callbacl function for chatbot -part2
Commiting changes
Updating npm
Creating project directory
Testing your chatbot
What is Nodejs
Installing Heroku cli
Initializing git
Initialzing package .json file
Installing dependencies
Download and install sublimeText Editor
Editing package.json file
Creating index.js file

By the end of this course you would have developed the skill to create a facebook message bot using git and heroku.

What you will learn

  • Learn how to create heroku app
  • Learn how to create an app on facebook


  • Node js ( We will cover installation)
  • Express js ( We will cover installation)
  • Heroku CLI and Git ( We will cover installation)
  • SublimeText ( We will cover installation)
Udemy logo
Available on


With almost 200,000 courses and close to 50 million students, Udemy is one of the most visited online learning platforms. Popular topics include software development, the digital economy, but also more traditional topics like cooking and music.

Frequently asked questions

  • Price: $94.99
  • Platform: Udemy
  • Language: English
  • 1 hours 19 minutes
How To Build A Facebook Messenger Chat Bot From Scratch thumbnail

bestcourses score: 6.6/10

There might be better courses available for this topic.