[twitter-dev] Re: Twitter Search Api and geolocations

2011-04-28 Thread harik
hI ...

I am trying to map the tweets which I can retrive using Twitter Search
API.
This is what I have observed.

When I search for tweets based on location(lat n long) using the
query:
search.twitter.com/search.atom?geocode=37.781157,-122.398720,1mi
I see that (in the xml format) there is  tag where the
latitude ,longitude or semantic address like minneapolis,MN etc are
mentioned.

But suppose I search for tweets based on a keyword ,say IPL
search.twitter.com/search.atom?q=@IPL

Then I do not see any  tag in the atom code.In fact I am not
able to get any kind of location information .

I know that not may people have enabled the geolocation feature,so the
% of tweets having the location is very less.

But What I have cross checked is,I used a map interface, and when I
click on it ,it takes the co-ordinates and gives the tweets near
by .These have the location tag.Suppose I choose a word from the first
tweet and then search for that word as a search keyword, the I do get
the same tweet as the latest tweet ,but it does not have the location
tag.

Why is this so?
Can any one tell me

On Apr 18, 10:06 pm, Mohan Arun  wrote:
> On Apr 18, 8:47 pm, harik  wrote:
>
> > I wantsearchfor queries (using a keyword eg: worldcup) ,and then
> > want to get the geolocations of the user .I am able to retrieve the
> > queries usingsearchapi, but i find all "geo" fields are null .
>
> > So is there any way I can retrieve the geolocations of the user ?
>
> > Also when i tried to send rpp=10&page=5 in the query ,I see only 10
> > tweets and i do not find any link to next page of 10 tweets ?
> > SO how can i view all the tweets?
>
> If the geo fields are null, I think it means the user chose not
> to add the geolocation info to his tweet in the first place.
>
> As for thenext question, try sending rpp=10&page=6
>
> Mohan

-- 
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] Re: Twitter Search Api and geolocations

2011-04-18 Thread Mohan Arun
On Apr 18, 8:47 pm, harik  wrote:
> I want search for queries (using a keyword eg: worldcup) ,and then
> want to get the geolocations of the user .I am able to retrieve the
> queries using search api, but i find all "geo" fields are null .
>
> So is there any way I can retrieve the geolocations of the user ?
>
> Also when i tried to send rpp=10&page=5 in the query ,I see only 10
> tweets and i do not find any link to next page of 10 tweets ?
> SO how can i view all the tweets?

If the geo fields are null, I think it means the user chose not
to add the geolocation info to his tweet in the first place.

As for thenext question, try sending rpp=10&page=6

Mohan

-- 
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