Sha256: a4eec28396001343b75ea06f76d068eee731173292ad949a318801a653600c26

Contents?: true

Size: 412 Bytes

Versions: 57

Compression:

Stored size: 412 Bytes

Contents

require File.join(File.dirname(__FILE__), '..', 'lib', 'twitter')
require File.join(File.dirname(__FILE__), 'helpers', 'config_store')
require 'pp'

config = ConfigStore.new("#{ENV['HOME']}/.twitter")

oauth = Twitter::OAuth.new(config['token'], config['secret'])
oauth.authorize_from_access(config['atoken'], config['asecret'])

client = Twitter::Base.new(oauth)

puts client.friend_ids
puts client.follower_ids

Version data entries

57 entries across 57 versions & 25 rubygems

Version Path
szimek-twitter-0.6.5 examples/ids.rb
rorra-twitter-0.9.9 examples/ids.rb
twitter-multi-0.9.8.3 examples/ids.rb
twitter-multi-0.9.8.2 examples/ids.rb
twitter-multi-0.9.8.1 examples/ids.rb
joelind-twitter-0.10.2 examples/ids.rb
joelind-twitter-0.10.1 examples/ids.rb
joelind-twitter-0.9.9 examples/ids.rb
jlind-twitter-0.9.9 examples/ids.rb
twitter-jruby-0.9.7.2010061001 examples/ids.rb
twitter-jruby-0.9.5.2010052501 examples/ids.rb
twitter-jruby-0.9.5.2010050701 examples/ids.rb
secobarbital-twitter-0.9.2.2 examples/ids.rb
secobarbital-twitter-0.9.2.1 examples/ids.rb
sml-twitter-0.7.3 examples/ids.rb
teejayvanslyke-twitter-0.6.11 examples/ids.rb
rpbertp13-twitter-0.9.1 examples/ids.rb