Path: | example_bot.rb |
Last Update: | Tue May 15 11:33:23 -0400 2007 |
This bot is an example of what FacebookBot can do. It logs into facebook with your provided credentials, and then proceeds to poke one of your friends at random, and then changes your status randomly. This is a good beginning to build your own bot.
Like so:
ruby bot.rb
You can also see the parameters it accepts with:
ruby bot.rb -h
But here are some good examples to follow:
ruby bot.rb -e you@fb.edu --password=cool4 ruby bot.rb -e test@test.edu
OPTIONS | = | { :email => nil, :password => nil, :debug => false | default options |