Skip to content
/ FBBot Public

A Facebook chat bot that says a daily quote when someone says "good morning" to him.

Notifications You must be signed in to change notification settings

Robbware/FBBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Facebook Chat Bot

This is a simple chat bot, written with the NodeJS framework, for a Facebook chat page.

All you have to do is setup your own keyword (to recognize the commands you send in the chat) and add your facebook app token. You also need to setup the proper webhooks in your developer console in Facebook.

Initial idea

Me and a few friends have an inside joke regarding saying "good morning". As such, we wanted a bot that would send a random quote when someone in our group chat said "good morning" (once a day). I took the idea and started digging into it to get some rust off my fingers and due to Facebook's limitations (You can't add a Page as a member of your group chatrooms), this happened. Currently being hosted on a private page, using Heroku.

Commands

Current commands are:

  • !list "keyword"
    Informs the user of the total of quotes in the database.

  • !total "keyword"
    Informs the user of how many quotes have been sent so far.

  • !add "keyword" "quote"
    Adds a new quote to the database.

Gallery

Sending quotes

Quotes

Commands

Commands

About

A Facebook chat bot that says a daily quote when someone says "good morning" to him.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published