Skip to content

astine/Facebot

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

Facebot.rb

*Nota Bene

FaceBot uses an older version of the Facebook API and doesn't work anymore. I don't currently have the inclination to make it work, unfortunately.


Facebot is a trivial ruby Facebook bot meant as a simple probe into writing a personal bot on Facebook. Currently Facebot sends a "Happy Birthday!" message to each of a user's friends on their birthdays. There is plenty of room to expand the code to send customized messages per person, congratulate friends on other events, send out mass, scheduled messages, and really anything you can imagine a bot masquerading as yourself doing.

Usage is simple, run:

ruby facebot.rb -t "oauth_access_token"

To get an OAuth access token, use Facebook's Graph API Explorer.

About

Simple Facebook bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages