I was working with the place search method:

http://api.twitter.com/1/geo/search.json?query=Portland,%20OR&granularity=city

But, I'm only getting place results with type = poi

What's the preferred way to get the place id of a city?


I was able to get it with a lat/long:

http://api.twitter.com/1/geo/reverse_geocode.json?lat=45.5234515&long=-122.6762071&granularity=city
http://api.twitter.com/1/geo/search.json?lat=45.5234515&long=-122.6762071&granularity=city

But, I was trying to see if I could get it with a string search.

Thanks!

Reply via email to