Hello, fellow brazilian developer. You should read the search API documentation. It says "you cannot use the near operator via the API to geocode arbitrary locations".
To geocode a location (i.e., to get coordinates for a given city, country or state name) you should take a look at the Google Maps API documentation. It is a quite cool API, btw. Regards, Jose On Sep 9, 6:57 pm, Gustavo Melo <[email protected]> wrote: > Why the parameter "near" is not avaible for api search on twitter? > > What i can't understand is... > > I can search on search.twitter.com this query:@twitter OR @twitterapi > near:Brasilhttp://search.twitter.com/search...@twitter+or+@twitterapi+near:Brasil > > If i click on Feed for this query i can get this result for the query > above:http://search.twitter.com/search.atom?geocode=-14.235004,-51.92528,25... > > if i change atom for json, it's ok. > > but it's not possible to do this: (without geocode > parameter)http://search.twitter.com/search.atom?lang=en&q...@twitter+or+@twittera... > > So, why i can't just use near with api?? > How i get the geocode with api?? > How i get this feed with api?? > > Best Regards.
