Sha256: c5903a381a16aef822431ebdc80d03d4a43d4745d836ce48caf383e206fe8d6b

Contents?: true

Size: 570 Bytes

Versions: 38

Compression:

Stored size: 570 Bytes

Contents

require 'rubygems'
require File.join(File.dirname(__FILE__), '..', 'lib', 'twitter')
config = YAML::load(open(ENV['HOME'] + '/.twitter'))

twitter = Twitter::Base.new(config['email'], config['password'])

puts "FRIENDS"
twitter.friends.each { |f| puts f.name }
puts
puts

puts "FRIENDS FOR"
twitter.friends_for('orderedlist', :lite => true).each { |f| puts f.name }
puts
puts

puts "FOLLOWERS"
twitter.followers(:lite => true).each { |f| puts f.name }
puts
puts

puts "FOLLOWERS FOR"
twitter.followers_for('orderedlist', :lite => true).each { |f| puts f.name }
puts
puts

Version data entries

38 entries across 38 versions & 15 rubygems

Version Path
anthonycrumley-twitter-0.3.8 examples/friends_followers.rb
baron-twitter-0.4.2 examples/friends_followers.rb
billymeltdown-twitter-0.3.8.1 examples/friends_followers.rb
billymeltdown-twitter-0.4.2 examples/friends_followers.rb
billymeltdown-twitter-0.4.3 examples/friends_followers.rb
drnic-twitter-0.4.4.1 examples/friends_followers.rb
dschn-twitter-0.3.7.1 examples/friends_followers.rb
dschn-twitter-0.3.7.2 examples/friends_followers.rb
dschn-twitter-0.4.1.1 examples/friends_followers.rb
dschn-twitter-0.4.1.2 examples/friends_followers.rb
dschn-twitter-0.4.1.3 examples/friends_followers.rb
dschn-twitter-0.4.1 examples/friends_followers.rb
dustin-twitter-0.3.2.1 examples/friends_followers.rb
dustin-twitter-0.3.2.2 examples/friends_followers.rb
dustin-twitter-0.3.7 examples/friends_followers.rb
gilesbowkett-gilesbowkett-twitter-0.4.4 examples/friends_followers.rb
gilesbowkett-twitter-0.4.3 examples/friends_followers.rb
gilesbowkett-twitter-0.4.5 examples/friends_followers.rb
handcrafted-twitter-0.4.0 examples/friends_followers.rb
handcrafted-twitter-0.4.2 examples/friends_followers.rb