Sure, I'll report the bug. I also know that location should secondary to geo, I just was trying to get any/all relevant geo.
On Jul 8, 5:57 pm, Matt Harris <thematthar...@twitter.com> wrote: > Hi James, > > I'm not sure why the location field is missing from those search results so > I'll need to follow that up. Can you file it as a defect in the API Issues > List:http://code.google.com/p/twitter-api/issues/list > and i'll look into it. > > Just to clarify though, the location field is the location you see under a > users name on their Twitter profile page. It is a free-text field in which > the user can put anything they want. If Twitter Search can reverse geocode > the text in that field it will use it as the geo for the Tweet only when the > Tweet itself doesn't have any geo co-ordinates. This means when you perform > a Geocoded Twitter Search you may see results you wouldn't expect. For > example somebody who says their location is San Francisco but is on holiday > in New York may not geocode their Tweets and so their Tweets will be indexed > as being in San Francisco. > > Hope that explains how this works. > > Thanks, > Matt > > > > On Thu, Jul 8, 2010 at 6:16 AM, James <tedr...@gmail.com> wrote: > > Hi there, > > > I'm getting started with using the search API; I'm a GIS guy looking > > at how to ingest tweets with geo or location info. I'm seeing an odd > > behavior with the location element- it seems the location info is only > > displayed when I submit a geocoded search. As an example: > > > In the results for > >http://search.twitter.com//search.json?q=%23geoglobaldomination > > is the following tweet: > > {"Thu, 08 Jul 2010 01:43:02 +0000", > > "from_user":"geo_rube", > > "metadata":{"result_type":"recent"}, > > "to_user_id":1203277,"text":"@wonderchook You need to write a book > > "Adventures in #Geoglobaldomination" or "Bangin > > BP"", > > "id":17997780478,"from_user_id":100089794, > > "to_user":"wonderchook","geo":null,"iso_language_code":"en","source":"<a > > href="http://www.tweetdeck.com" > > rel="nofollow">TweetDeck</a>"} > > > Note no location info. However, if I do > > >http://search.twitter.com/search.json?q=%23geoglobaldomination&geocod... > > The result is: > > {"location":"Springfield, VA","profile_image_url":"http://a1.twimg.com/ > > profile_images/907787936/shitstorm_normal.jpg","created_at":"Thu, 08 > > Jul 2010 01:43:02 +0000","from_user":"geo_rube","metadata": > > {"result_type":"recent"},"to_user_id":1203277,"text":"@wonderchook > > You need to write a book "Adventures in > > #Geoglobaldomination" or "Bangin BP"","id": > > 17997780478,"from_user_id": > > > 100089794,"to_user":"wonderchook","geo":null,"iso_language_code":"en","source":"<a > > href="http://www.tweetdeck.com" > > rel="nofollow">TweetDeck</a>"} > > -- > > Matt Harris > Developer Advocate, Twitterhttp://twitter.com/themattharris