Sha256: 7ac6d51e4149059a01d46410598fca47b292f7dfaa0335b158fca67e1256b961

Contents?: true

Size: 471 Bytes

Versions: 70

Compression:

Stored size: 471 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)

pp client.friends_timeline
puts '*'*50

pp client.user_timeline
puts '*'*50

pp client.replies
puts '*'*50

Version data entries

70 entries across 70 versions & 27 rubygems

Version Path
bkocik-twitter-0.6.10 examples/timeline.rb
bkocik-twitter-0.6.8 examples/timeline.rb
bkocik-twitter-0.6.9 examples/timeline.rb
bkocik-twitter-0.7.0 examples/timeline.rb
cicloid-twitter-0.6.1 examples/timeline.rb
cicloid-twitter-0.6.2 examples/timeline.rb
codetocustomer-twitter-0.6.14 examples/timeline.rb
dacort-twitter-0.6.5 examples/timeline.rb
ddollar-twitter-0.6.15 examples/timeline.rb
ddollar-twitter-0.6.16 examples/timeline.rb
ddollar-twitter-0.6.17 examples/timeline.rb
ddollar-twitter-0.7.0 examples/timeline.rb
deadprogrammer-twitter-0.6.11 examples/timeline.rb
deadprogrammer-twitter-0.6.12 examples/timeline.rb
deadprogrammer-twitter-0.6.7 examples/timeline.rb
deedubs-twitter-0.7.0 examples/timeline.rb
deedubs-twitter-0.8.0 examples/timeline.rb
egze-twitter-0.6.13 examples/timeline.rb
erwaller-twitter-0.6.13.1 examples/timeline.rb
erwaller-twitter-0.6.13 examples/timeline.rb