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
arthurgeek-twitter-0.6.15 examples/ids.rb
bkocik-twitter-0.6.10 examples/ids.rb
bkocik-twitter-0.6.8 examples/ids.rb
bkocik-twitter-0.6.9 examples/ids.rb
bkocik-twitter-0.7.0 examples/ids.rb
codetocustomer-twitter-0.6.14 examples/ids.rb
ddollar-twitter-0.6.15 examples/ids.rb
ddollar-twitter-0.6.16 examples/ids.rb
ddollar-twitter-0.6.17 examples/ids.rb
ddollar-twitter-0.7.0 examples/ids.rb
deadprogrammer-twitter-0.6.11 examples/ids.rb
deadprogrammer-twitter-0.6.12 examples/ids.rb
deadprogrammer-twitter-0.6.7 examples/ids.rb
deedubs-twitter-0.7.0 examples/ids.rb
deedubs-twitter-0.8.0 examples/ids.rb
egze-twitter-0.6.13 examples/ids.rb
erwaller-twitter-0.6.13.1 examples/ids.rb
erwaller-twitter-0.6.13 examples/ids.rb
erwaller-twitter-0.6.15.1 examples/ids.rb
erwaller-twitter-0.6.15 examples/ids.rb