Re: [twitter-dev] What do the attributes represent in a geo place lookup for a city

2010-07-13 Thread Matt Harris
Great questions. I'll be publishing a document to dev.twitter.com about this
in the next couple of days but to answer you question the attributes you
refer to are specific to a registered OAuth application. I'll explain more
about these attributes and where they come from in the dev.twitter document.

I'll let you know when the document is published.

Matt

On Mon, Jul 12, 2010 at 6:07 PM, Ryan W rwilli...@gmail.com wrote:

 For example:

 Place lookup for Portland, OR:
 http://api.twitter.com/1/geo/id/ac88a4f17a51c7fc.json

 Returns as part of the result:

 attributes:{162772:pop100:529121,162772:place_id:4159000}

 What does the 162772 signify?  I believe the 162772:pop100
 represents population from 2000 census (I'm saying 2000 based on spot
 checking a couple of cities).  But, will this 162772 change?

 What does the place_id represent?  It's not a woeid, and it's
 different than the twitter place_id (or is it?  maybe the place_id in
 the URL is a hash of this?)

 Thanks!




-- 


Matt Harris
Developer Advocate, Twitter
http://twitter.com/themattharris


[twitter-dev] What do the attributes represent in a geo place lookup for a city

2010-07-12 Thread Ryan W
For example:

Place lookup for Portland, OR: 
http://api.twitter.com/1/geo/id/ac88a4f17a51c7fc.json

Returns as part of the result:

attributes:{162772:pop100:529121,162772:place_id:4159000}

What does the 162772 signify?  I believe the 162772:pop100
represents population from 2000 census (I'm saying 2000 based on spot
checking a couple of cities).  But, will this 162772 change?

What does the place_id represent?  It's not a woeid, and it's
different than the twitter place_id (or is it?  maybe the place_id in
the URL is a hash of this?)

Thanks!