Skip to content

Instantly share code, notes, and snippets.

@jicksta
Created August 23, 2008 02:13
Show Gist options
  • Save jicksta/6887 to your computer and use it in GitHub Desktop.
Save jicksta/6887 to your computer and use it in GitHub Desktop.
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