Sha256: 0875e3a65d4f4a8225425eb12411664810f1feffcccade3406834bd4e8406366
Contents?: true
Size: 450 Bytes
Versions: 1
Compression:
Stored size: 450 Bytes
Contents
require 'tweetstream' TweetStream.configure do |config| config.consumer_key = 'abcdefghijklmnopqrstuvwxyz' config.consumer_secret = '0123456789' config.oauth_token = 'abcdefghijklmnopqrstuvwxyz' config.oauth_token_secret = '0123456789' config.auth_method = :oauth end client = TweetStream::Client.new client.on_error do |message| puts message end client.track("yankees") do |status| puts "#{status.text}" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tweetstream-2.4.0 | examples/oauth.rb |