Hi,
I am using the streaming API gathering tweets from the Berlin area (13.344269,52.486125,13.480225,52.549219) and besides Berlin, I get a lot of Prague tweets as well (like 40%). These tweets besides Location=Prague come with coordinates from the Prague (I have checked, downtown Prague)...
I have checked my input coordinates that I send as parameter to he request and they seem to be correct - first pair represents the south-west and second north-east corners of the box.
What could be the cause of this?
Thanks!
Leo
Replies
Looks like we may be having an issue with geo bounding boxes on the streaming API. Can you give me the IDs of some Tweets which fall outside of the specified box, but were returned to your stream? Please also provide the exact URL you're requesting when connecting.
I tried to post about this issue yesterday, but it just said my post was in the moderation queue and then never showed up.
I am getting the same issue, but in the USA. I have a bounding box, and it is showing tweets from the rest of the state that the box overlaps, but not from populous areas.
You can see here in dotted my boundary, and the dots are returned tweets.
http://i.imgur.com/Mh4LF.jpg
Here you can see an area from a state that overlaps, with tweets, but not the downtown area.
http://i.imgur.com/llFJv.jpg
I was querying
https://stream.twitter.com/1/statuses/filter.json?locations=-074.891204,40.176632,-072.593505,41.112674
Thanks, I've reported Streaming results returned outside of specified bounding box
Here is the request url:
https://stream.twitter.com/1/statuses/filter.json?locations=13.344269,52.486125,13.480225,52.549219
and some of the tweet IDs that are outside of the box: 185256243944890368, 185254785597972481
Thanks!
Thanks, that's helpful.
Hi, is it possible to retrieve tweets, from a zone, that contains a certain word? I mean, can i use track AND locations in the same query? or it just works as track OR locations?
i would appreciate any help
It works as track OR locations. The best way to implement this would be to open a stream with either parameter, and then perform a filtering step in your streaming client to remove Tweets which don't match the second parameter.
And i noticed that it happens in the search API too. It's impossible to search query AND geocode, isn't it? I think it seach something like query OR geocode, am i right?
Search should combine the parameters, actually. Do you have an example query?
Thanks for the quick answer!
location: madrid, spain --> Coordinates: 40°23′N 3°43′W
query: youtube (looking for videos)
http://search.twitter.com/search.json?q=youtube&rpp=10&include_entities=true&geocode=40.2,-3.4,50mi
sometimes when i use that query it works fine the first time, but if i try it again, it retrieves tweets from everywhere..
when i execute the query without "q=youtube" it gets tweets from Madrid
is it correct that Search API url?
I'm confused..I don' know if the query it's wrong or Search API doesn't give me what i want