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