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
joelind-twitter-0.9.9 examples/timeline.rb
jlind-twitter-0.9.9 examples/timeline.rb
twitter-jruby-0.9.7.2010061001 examples/timeline.rb
twitter-jruby-0.9.5.2010052501 examples/timeline.rb
twitter-jruby-0.9.5.2010050701 examples/timeline.rb
secobarbital-twitter-0.9.2.2 examples/timeline.rb
secobarbital-twitter-0.9.2.1 examples/timeline.rb
sml-twitter-0.7.3 examples/timeline.rb
teejayvanslyke-twitter-0.6.11 examples/timeline.rb
rpbertp13-twitter-0.9.1 examples/timeline.rb