Re: [twitter-dev] Getting users' location

2011-04-29 Thread Jean-Charles Campagne
Hello Marcelo,

Semiocast had released some time ago an API that could be used for what you are 
trying to do.
You can look it up here: http://developer.semiocast.com/
More specifically, for a tutorial on using the API on tweets:
  http://developer.semiocast.com/tutorial/twitter

Hope you'll find this interesting.

Bear in mind that, as you say, interpreting what the user wrote can sometime be 
really difficult (even for a human), but statistically we have some decent 
results.

Cheers,
Jean-Charles

PS: I'm resending this email as the first one did not went through...

On 27 avr. 2011, at 18:22, Marcelo Jenisch wrote:

 Hello everyone,
 
 I need to display the location of someone's followers in a map, so he
 can see the distribution by country of his followers.
 
 I couldn't use the location, since it is just a text box where the
 user can enter anything and it would be pretty complicated to
 interpret that without some level of error. So my second idea was to
 use the place info in the user's last tweet, but then I realized that
 most tweets don't attach such info.
 
 So now I'm at a loss. Do I invest time in interpreting the location
 field, or are there better (easier or more accurate) ways to get such
 info? It doesn't even need to be down to the city level, as long as I
 can get a country, it's fine.
 
 Thank you all in advance.
 
 Best regards,
 Marcelo
 
 -- 
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group: 
 http://groups.google.com/group/twitter-development-talk

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] Getting users' location

2011-04-27 Thread Marcelo Jenisch
Hello everyone,

I need to display the location of someone's followers in a map, so he
can see the distribution by country of his followers.

I couldn't use the location, since it is just a text box where the
user can enter anything and it would be pretty complicated to
interpret that without some level of error. So my second idea was to
use the place info in the user's last tweet, but then I realized that
most tweets don't attach such info.

So now I'm at a loss. Do I invest time in interpreting the location
field, or are there better (easier or more accurate) ways to get such
info? It doesn't even need to be down to the city level, as long as I
can get a country, it's fine.

Thank you all in advance.

Best regards,
Marcelo

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] Getting users' location

2011-04-27 Thread M. Edward (Ed) Borasky
On Wed, Apr 27, 2011 at 9:22 AM, Marcelo Jenisch marc...@inmeta.com.br wrote:
 Hello everyone,

 I need to display the location of someone's followers in a map, so he
 can see the distribution by country of his followers.

 I couldn't use the location, since it is just a text box where the
 user can enter anything and it would be pretty complicated to
 interpret that without some level of error. So my second idea was to
 use the place info in the user's last tweet, but then I realized that
 most tweets don't attach such info.

 So now I'm at a loss. Do I invest time in interpreting the location
 field, or are there better (easier or more accurate) ways to get such
 info? It doesn't even need to be down to the city level, as long as I
 can get a country, it's fine.

There are ways you can infer someone's location, but you run the
risk of running afoul of privacy laws and terms of service violations
for the services you access via APIs or scraping. The correct way to
acquire someone's location at any granularity is to *explicitly* ask
them for it, *clearly* stating in plain language what they will
receive in return.

This is a very big deal - just look at all the brouhaha over the
iPhone location logging that erupted last week. There's no shortcuts /
tricks / games you can play here. You need lawyers and solid business
planning.

-- 
http://twitter.com/znmeb http://borasky-research.net

A mathematician is a device for turning coffee into theorems. -- Paul Erdős

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] Getting users' location

2011-04-27 Thread Nassr zied
Hello,
I have the same problem i found some documentation here:
http://dev.twitter.com/doc/get/geo/search
but i still looking for a solution for my WP7 Twiiter Client.. so if u did
somthing let us hear from u ;)

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk