Search parameter question


#1

I want to do a keyword search for historics where the tweet also contains any location data - not a specific location, mind you, but simply some location data. Is that possible?


#2

Yes. You can use the exists operator to see if a certain output field exists.

For example, if I want any Tweets about 'coffee', where geo-data exists, I would write the following CSDL:

  twitter.text contains "coffee" AND

  interaction.geo exists


#3

Thanks. Probably should have done a more thorough search of the API.