streaming - Ruby TweetStream Locations Feature not working -
streaming - Ruby TweetStream Locations Feature not working -
i'm accessing ruby tweetstream fine in regards "filter" method; however, whenever seek limit of streaming content bounding box (which know works), ignores code or doesn't run @ all.
here's of code:
tweetstream.configure |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"]}) |tweet| p tweet.inspect end
i've tried "locations" method:
tweetstream::client.new.filter({:track => ["bob loblaw"]}).locations('-80.29,32.57,-79.56,33.09') |tweet| p tweet.inspect end
i've tried locations(['-80.29,32.57,-79.56,33.09']) , locations(['-80.29,32.57','-79.56,33.09']).
anybody got ideas?
tweetstream::client.new.locations(-80.29,32.57,-79.56,33.09) |tweet| p tweet.inspect end
or variation of that.
ruby streaming twitter
Comments
Post a Comment