Displaying 1 result from an estimated 1 matches for "access_token_secret".
2011 Sep 26
2
undefined method `options' for #<EventMachine::HttpClien
Hi , I am writing a rake task to consume twitter stream API. The task
contains the following code:
consumer = OAuth::Consumer.new(CONSUMER_KEY, CONSUMER_SECRET, :site =>
''http://twitter.com'')
access_token =
OAuth::AccessToken.new(consumer,ACCESS_TOKEN,ACCESS_TOKEN_SECRET)
oauth_params = {:consumer => consumer, :token => access_token}
EventMachine.run do
# now, let''s subscribe to twitter site stream
# check informaiton on twitter site
http =
EventMachine::HttpRequest.new(''http://stream.twitter.com/1/statuses/sampl...