Skip to content

💬 A simple bot for messenger, used by my facebook page. You can play a quiz among other things. 📲

License

Notifications You must be signed in to change notification settings

tuhinspatra/messenger-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A FUN (& DUMB!) QUIZ BOT FOR MESSENGER

Update: The actual hosted app may not be working in the future, as Facebook requires activating the rights every year to keep it functioning. Here is a gif of my interaction with the bot w/o text reply rights.

Bot Demo

If you are new to messenger bots you might want to see the Facebook Dev Docs first.

This is a dumb bot that uses most of the features of facebook messenger platform. This is NOT a NLP project.

Features:

  • The bot can ask random questions with tap-and-answer ease from a fixed set of saved questions.
  • The bot uses Node.js which is faster and more efficient for a bot that handles multiple user requests.
  • The bot is hosted on Heroku for faster real-time access.

Steps:

  1. Install Heroku CLI toolbelt
  2. Init npm
  3. Setup Webhook for Messenger
  4. Subscribe Webhook to your page.
  5. Code and Test your bot!