
Untitled
By: a guest on
May 7th, 2012 | syntax:
None | size: 0.54 KB | hits: 14 | expires: Never
Ruby TweetStream Locations Feature not working
TweetStream.configure do |config|
config.username = 'USERNAME'
config.password = 'PASSWORD'
config.auth_method = :basic
end
TweetStream::Client.new.filter({:locations => '-80.29,32.57,-79.56,33.09', :track => ["Bob Loblaw"]}) do |tweet|
p tweet.inspect
end
TweetStream::Client.new.filter({:track => ["Bob Loblaw"]}).locations('-80.29,32.57,-79.56,33.09') do |tweet|
p tweet.inspect
end
TweetStream::Client.new.locations(-80.29,32.57,-79.56,33.09) do |tweet|
p tweet.inspect
end