Created
August 23, 2008 02:13
-
-
Save jicksta/6887 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'twitter' | |
TwitterClient = Twitter::Base.new("jicksta@gmail.com", "xxxxxxxxx") | |
class Twitter::User | |
def friends | |
TwitterClient.friends_for @screen_name | |
end | |
end | |
p TwitterClient.friends.map(&:friends).map(&:friends) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment