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
jnunemaker-twitter-0.6.8 examples/timeline.rb
jnunemaker-twitter-0.6.9 examples/timeline.rb
michaeltaras-twitter-0.6.13 examples/timeline.rb
ministrycentered-twitter-0.6.12 examples/timeline.rb
nobert-twitter-0.6.12 examples/timeline.rb
nobert-twitter-0.6.13 examples/timeline.rb
paulsingh-twitter-0.6.13 examples/timeline.rb
rcarver-twitter-0.5.4 examples/timeline.rb
rpbertp13-twitter-0.8.1 examples/timeline.rb
siuying-twitter-0.6.11.2 examples/timeline.rb
siuying-twitter-0.6.11 examples/timeline.rb
ssoroka-twitter-0.6.7 examples/timeline.rb
szimek-twitter-0.6.4 examples/timeline.rb
szimek-twitter-0.6.5 examples/timeline.rb
rorra-twitter-0.9.9 examples/timeline.rb
twitter-multi-0.9.8.3 examples/timeline.rb
twitter-multi-0.9.8.2 examples/timeline.rb
twitter-multi-0.9.8.1 examples/timeline.rb
joelind-twitter-0.10.2 examples/timeline.rb
joelind-twitter-0.10.1 examples/timeline.rb