unfortunately, there is no (current) way to subscribe to the streaming API for a particular location. as for the caching issue on the search, that's unfortunate, and i'll try to raise the issue with the search team next week.

@Abraham
I actually use the geocode with the search api for my script, so using
the search api isn't my problem. My problem is that I get "stale"
results from the search cache, even when querying after a sufficient
interval. Also the "stale" results seem hours old (at times, in fact
yesterday at 23:00 hours I got a few results that were from
22:00-22:30 hours. Didn't have the problem when using twitter search
from the browser). To overcome this Raffi Krikorian suggested using
the streaming api instead of the search api. My question was - how do
i get a location specific stream using the streaming api. From the
streaming api docs, there doesn't seem a way to do this at the moment,
which kind of defeats my purpose as I need to the deploy the script in
the next one week or so. Guess I'll have to live with the stale
results...

Anyway thanks for the help.

On Nov 28, 12:40 am, Abraham Williams <4bra...@gmail.com> wrote:
On Fri, Nov 27, 2009 at 12:38, enygmatic <enygma...@gmail.com> wrote:
From what I have
gone through so far, there doesn't seem to be a way to query for
status updates from a certain geographical location, say limited to a
city. I may be mistaken here, so do correct me if I am wrong.

Check out the search operators:http://search.twitter.com/operators

For example:http://search.twitter.com/search?q=near:NYC+within:15mi

Abraham
--
Abraham Williams | Community Evangelist |http://web608.org
Hacker |http://abrah.am|http://twitter.com/abraham
Project | Awesome Lists |http://twitterli.st
This email is: [ ] blogable [x] ask first [ ] private.
Sent from Madison, WI, United States

--
Raffi Krikorian
Twitter Platform Team
ra...@twitter.com | @raffi




Reply via email to