Re: [twitter-dev] Re: Reg Fetch tweets by append GEO Code to URL from Search API

2009-12-18 Thread praveenkumar nakka
I tried with 200 KM radius even though i got same error.


On Fri, Dec 18, 2009 at 11:55 PM, dbasch  wrote:

> I tried your query and got a timeout. My guess is that it's just a
> very expensive query to compute because of the large radius. It seems
> to work fine with a smaller radius.
>
> Diego
>
> On Dec 18, 3:25 am, praveenkumar nakka 
> wrote:
> > Hai,
> >
> > I was using search API to get tweets from Twitter. When i append geo code
> to
> > the URL i got following error  like this
> >
> > URL :
> http://search.twitter.com/search.json?q=%22holiday+list.+Pick+me%21%2...
> > .TwitterException: *Server returned HTTP response code: 502 for URL*:
> http://search.twitter.com/search.json?q=%22holiday+list.+Pick+me%21%2...
> > at com.netelixir.api.twitterSrc.
> > http.HttpClient.httpRequest(HttpClient.java:274)
> > at
> > com.netelixir.api.twitterSrc.http.HttpClient.get(HttpClient.java:189)
> > at com.netelixir.api.twitterSrc.Twitter.get(Twitter.java:279)
> > at com.netelixir.api.twitterSrc.Twitter.search(Twitter.java:1125)
> > at
> > com.netelixir.api.twitter.DumpTweetsData.run(DumpTweetsData.java:119)
> > at java.lang.Thread.run(Thread.java:619)
> >
> > If i try to pull tweets without geo code then its working fine ,
> >
> > What is the wrong in the sending url and why its coming like this?
> >
> > Is there any other way to get tweets by using geocode from Search API?
> >
> > please give me reply as early as possible.
> >
> > Thanks
> > Praveen
>


[twitter-dev] Reg Fetch tweets by append GEO Code to URL from Search API

2009-12-17 Thread praveenkumar nakka
Hai,

I was using search API to get tweets from Twitter. When i append geo code to
the URL i got following error  like this

URL :
http://search.twitter.com/search.json?q=%22holiday+list.+Pick+me%21%22&phrase=&rpp=100&page=10&geocode=36.778261%2C-119.4179324%2C500.0km
.TwitterException: *Server returned HTTP response code: 502 for URL*:
http://search.twitter.com/search.json?q=%22holiday+list.+Pick+me%21%22&phrase=&rpp=100&page=10&geocode=36.778261%2C-119.4179324%2C500.0km
at com.netelixir.api.twitterSrc.
http.HttpClient.httpRequest(HttpClient.java:274)
at
com.netelixir.api.twitterSrc.http.HttpClient.get(HttpClient.java:189)
at com.netelixir.api.twitterSrc.Twitter.get(Twitter.java:279)
at com.netelixir.api.twitterSrc.Twitter.search(Twitter.java:1125)
at
com.netelixir.api.twitter.DumpTweetsData.run(DumpTweetsData.java:119)
at java.lang.Thread.run(Thread.java:619)

If i try to pull tweets without geo code then its working fine ,

What is the wrong in the sending url and why its coming like this?

Is there any other way to get tweets by using geocode from Search API?

please give me reply as early as possible.


Thanks
Praveen


[twitter-dev] Regarding the search API based on Geo location

2009-12-17 Thread praveenkumar nakka
Hai,

I was using search API to get tweets from Twitter. When i append geo code to
the URL i got following error  like this

URL :
http://search.twitter.com/search.json?q=%22holiday+list.+Pick+me%21%22&phrase=&rpp=100&page=10&geocode=36.778261%2C-119.4179324%2C500.0km
.TwitterException: *Server returned HTTP response code: 502 for URL*:
http://search.twitter.com/search.json?q=%22holiday+list.+Pick+me%21%22&phrase=&rpp=100&page=10&geocode=36.778261%2C-119.4179324%2C500.0km
at
com.netelixir.api.twitterSrc.http.HttpClient.httpRequest(HttpClient.java:274)
at
com.netelixir.api.twitterSrc.http.HttpClient.get(HttpClient.java:189)
at com.netelixir.api.twitterSrc.Twitter.get(Twitter.java:279)
at com.netelixir.api.twitterSrc.Twitter.search(Twitter.java:1125)
at
com.netelixir.api.twitter.DumpTweetsData.run(DumpTweetsData.java:119)
at java.lang.Thread.run(Thread.java:619)

If i try to pull tweets without geo code then its working fine ,

What is the wrong in the sending url and why its coming like this?

Is there any other way to get tweets by using geocode from Search API?

please give me reply as early as possible.


Thanks
Praveen


[twitter-dev] Please provide a more specific query error from Twitter API

2009-11-17 Thread praveenkumar nakka
Hai,

I have send a request to Twitter API for the tweets by using request URL
including Geo Code with location *"US"*  and radius 2400 KM then i got error
"*Please provide a more specific query*" , if i decreased radius from 2400KM
then i got tweets at a particular radius but some times it worked at 2400 KM
radius also.
Please any one tell me the solution for this.

Regards
Praveen


[twitter-dev] Re: Reg Twitter Authentication details

2009-11-16 Thread praveenkumar nakka
Thanks for your response, i will go by white listing.

On Thu, Nov 12, 2009 at 4:42 PM, Dhaval Parikh wrote:

> Hi,
>
> I think (guessing)  he is talking about white listing his ip. If thats what
> you are looking for then you can go to
> http://twitter.com/help/request_whitelisting and fill out the details.
>
> Thanks
>
>
> On Thu, Nov 12, 2009 at 5:06 PM, praveenkumar nakka <
> nakka.praveenku...@gmail.com> wrote:
>
>>
>> Hai,
>>
>> At present i have accessing twitter searches from my application without
>> authentication.
>>
>> Now i want to take twitter authentication so please can anyone tell me the
>> procedure about
>>
>> how to take authenication and also tell me the cost for it.
>>
>>
>> Thanks
>>
>> Praveen
>>
>
>
>
> --
> Dhaval Parikh
> Software Engineer
> Ruby on Rails
> dhaval.parik...@gmail.com
> www.dhavalparikh.co.in
> http://blog.dhavalparikh.co.in
>


[twitter-dev] Reg Twitter Authentication details

2009-11-12 Thread praveenkumar nakka
Hai,

At present i have accessing twitter searches from my application without
authentication.

Now i want to take twitter authentication so please can anyone tell me the
procedure about

how to take authenication and also tell me the cost for it.


Thanks

Praveen


[twitter-dev] Unable to get tweets from Twitter API when set Geo-code

2009-07-31 Thread praveenkumar nakka
Hi,

I am unable to get tweets from Twitter API for the query credit cards OR
card when set geocode to "New York,US" within:2500km. Search Link

http://search.twitter.com/search.json?q=credit+cards+OR+card&rpp=100&page=1&geocode=40.756054%2C-73.986951%2C2500.0km


but when i decrease radius  from 2500KM to 2400 KM i got tweets. Also i got
tweets when i changed query to credit cards and radius 2500KM

http://search.twitter.com/search.json?q=credit+cards&rpp=100&page=1&geocode=40.756054%2C-73.986951%2C2500.0km

Why is this random behaviour. Please help me and reply soon.

Regards,
Praveen Kumar .N