query not required?

May 21, 2013 at 9:10 AM
Hi,
When I was reading your documentation.... I saw that the query parameter is required when searching. I was able to search without specifiyng a query when I wanted to search with coordinates. Do you think that I'm violating rules or not getting the results I was looking for (which are tweets for a certain location)?
Coordinator
May 21, 2013 at 9:42 PM
Hi,

The Twitter API docs say it's required too:

https://dev.twitter.com/docs/api/1.1/get/search/tweets

I think the trade-off is that you might occasionally see different behavior, but if Twitter changes it to conform with the docs, your code might break. Earlier, I had supported undocumented behavior with LINQ to Twitter and it's almost always bitten me down the line.

@JoeMayo
May 22, 2013 at 5:59 PM
What I was trying to acheive is only provide coordinates and radius and get all tweets within that area. Is there another way to do it?
I tried an empty query=="" but that showed an error.
Coordinator
May 23, 2013 at 5:28 AM
That means Search is working for you as documented. Query is required. There is no other way.

@JoeMayo