Sha256: 924dce1448b145ee0fb45f4fdd2f43f19a9c8fe5e827d971faec2b006a575a3d
Contents?: true
Size: 443 Bytes
Versions: 1
Compression:
Stored size: 443 Bytes
Contents
require 'yajl' 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 config.parser = :yajl end TweetStream::Client.new.on_error do |message| puts message end.track("yankees") do |status| puts "#{status.text}" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tweetstream-1.1.0.rc1 | examples/oauth.rb |