The Streaming API doesn't support places but it does support 1-degree
latitude and longitude boxes. We've provided examples of each
Streaming API parameter in the docs. For location filtering you can
see the example here:
For restricting the Search API to a place you can use the 'place'
parameter. For example, to search for Tweets from Twitter HQ (place
ID: 247f43d441defc03) I would use this query:
Hope that helps,
On Mon, Aug 23, 2010 at 6:02 PM, Bess <bess...@gmail.com> wrote:
> You are welcome. Glad it works for you.
> It would be nice to see example of using Stream API using location.
> Anyone can offer example code in using Twitter Places? narrow down
> specific geo location?
> On Aug 21, 5:43 pm, Mark W <mdwolin...@gmail.com> wrote:
>> Bess and Tom,
>> Thanks for the responses. The search method seemed to work best for
>> me. I appreciate the quick responses.
>> On Aug 14, 5:20 pm, Mark W <mdwolin...@gmail.com> wrote:
>> > I've searched for a solution, but couldn't find one.
>> > I'm looking for a way that I can feed in a GeoLocation (Lat,Long) and
>> > get the latest x tweets posted from around that area.
>> > statuses/public_timeline doesn't support GeoLocation.
>> > I looked at search, which can limit the returned amount by
>> > GeoLocation, however, it requires a query search string, which I don't
>> > have.
>> > Any help or friendly point in the right direction is appreciated...
>> > Thanks.
>> > Mark
Developer Advocate, Twitter