Geocode returning results outside of radius

search
geo
api

#1

I sometimes get strange results while searching for tweets with a geocode. For example, this endpoint searches tweets near Iceland:

https://api.twitter.com/1.1/search/tweets.json?q=えろー&geocode=64.135666%2C-21.862675%2C500km

and it returns this tweet: https://twitter.com/fran723_ka/status/841239319687790592 which seems to be from Japan. I know that there is a fallback to the user location, but the user seems to be pretty far away from Iceland in this case. There are other examples like this if I search with the same geocode and different query.

Is the query wrong? What can I do to restrict the results only to the location I specified?


#2

I’m having the same issue. If I set the search location to say Detroit, MI, I will get mostly results from or around Detroit. But I may get one from England, or Japan, or some random location, and not sure why.


#3

There’s nothing to stop users setting their locations as outside of the physical area that the Tweet may be sent from. Adding location to a Tweet is an opt-in setting that only the user can influence.