Skip to content

Instantly share code, notes, and snippets.

@atmos
Created February 26, 2009 22:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save atmos/71165 to your computer and use it in GitHub Desktop.
Save atmos/71165 to your computer and use it in GitHub Desktop.
>> require 'twitter'
=> true
>> twit = Twitter::Base.new('atmos', 's3cr3t')
=> #<Twitter::Base:0x106c4ac @api_host="twitter.com", @proxy_port=nil, @proxy_host=nil, @config={:password=>"s3cr3t", :email=>"atmos"}>
>> twit.followers.size
=> 100
>> twit.follower_ids.size
=> 350
>> twit.friend_ids.size
=> 173
>> twit.friends.size
=> 100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment