Skip to content

Instantly share code, notes, and snippets.

@hac
hac / FacebookBot.rb
Created January 4, 2011 02:00
A class for automating basic user tasks on FaceBook.
#!/usr/bin/ruby
require 'rubygems'
require 'mechanize'
# We will probably want to start using JSON instead of regular expressions sometime.
#require 'json'
class Mechanize::Page