Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (10 sloc) 0.516 kb
require 'rubygems'
require File.join(File.dirname(__FILE__), '..', 'lib', 'twitter')
config = YAML::load(open(ENV['HOME'] + '/.twitter'))
twitter =['email'], config['password'])
puts twitter.create_friendship('orderedlist').name
puts twitter.follow('orderedlist').name
puts twitter.leave('orderedlist').name
puts twitter.destroy_friendship('orderedlist').name
puts twitter.friendship_exists?('jnunemaker', 'orderedlist').inspect
puts twitter.friendship_exists?('jnunemaker', 'ze').inspect
Jump to Line
Something went wrong with that request. Please try again.