Hi,

I’m using the ‘academic research’ Twitter API features and I’m trying to search tweets based on the author’s location. I’m sending the “place:australia” query to the search API but once I get all the author_ids back and lookup their location in the user API, the user locations are not necessarily all set to Australia.
Any help/ideas are appreciated. Thanks.

Regards,
Nassim

The location in the user object is something a user can fill in themselves, it’s not based on a location that’s derived from any location service on a device for example. Same with Place in tweets - it’s possible to annotate a tweet with a place manually and not be physically anywhere near it.

The search operators will match on tweet place objects, not on user locations.

Hope that helps!

Thanks @IgorBrigadir. Do you know how I can pull tweets based on user location? (I know user location is filled by the user and that’s fine).

Unfortunately no, i don’t know of any v2 search operators for user locations - you kinda have to infer that from tweets, and it’s not possible to search the location field specifically in v2.