[twitter-dev] Authenticated Search:Version 2.1.2

2010-05-10 Thread seshu
Hi,
Twitter api supports maximum of 150 requests per hour for an
unauthenticated request from an ip.
So when i hosted it on GAE i was getting response code as 420.
Does basic authentication for the search api work? I can see we are
passing null for auth in Twitter.java.
I tried passing auth also.(I created an extra method). After creating
an authenticated instance of Twitter from Factory class by passing
userId/password.
But still seems it was not working as i was getting 420 status for
GAE. But was working fine locally.
Any workarounds for this? Or are there any gaps in my understandings?

Best Regards,
Suresh


Re: [twitter-dev] Authenticated Search:Version 2.1.2

2010-05-10 Thread Taylor Singletary
Hi Seshu,

The Search API doesn't use authentication right now. Much of Google App
Engine's traffic comes to Twitter from the same IP address, such that other
developers running applications on Google AppEngine might be using the limit
up before your requests go out.

Taylor Singletary
Developer Advocate, Twitter
http://twitter.com/episod


On Mon, May 10, 2010 at 4:32 AM, seshu suresh.kal...@gmail.com wrote:

 Hi,
 Twitter api supports maximum of 150 requests per hour for an
 unauthenticated request from an ip.
 So when i hosted it on GAE i was getting response code as 420.
 Does basic authentication for the search api work? I can see we are
 passing null for auth in Twitter.java.
 I tried passing auth also.(I created an extra method). After creating
 an authenticated instance of Twitter from Factory class by passing
 userId/password.
 But still seems it was not working as i was getting 420 status for
 GAE. But was working fine locally.
 Any workarounds for this? Or are there any gaps in my understandings?

 Best Regards,
 Suresh



Re: [twitter-dev] Authenticated Search:Version 2.1.2

2010-05-10 Thread Jonathan Reichhold
You are also using api.twitter.com/v1/search when you should be using
search.twitter.com/search

The low rate limit is a side affect of the incorrect endpoint.

Jonathan

On Mon, May 10, 2010 at 4:32 AM, seshu suresh.kal...@gmail.com wrote:

 Hi,
 Twitter api supports maximum of 150 requests per hour for an
 unauthenticated request from an ip.
 So when i hosted it on GAE i was getting response code as 420.
 Does basic authentication for the search api work? I can see we are
 passing null for auth in Twitter.java.
 I tried passing auth also.(I created an extra method). After creating
 an authenticated instance of Twitter from Factory class by passing
 userId/password.
 But still seems it was not working as i was getting 420 status for
 GAE. But was working fine locally.
 Any workarounds for this? Or are there any gaps in my understandings?

 Best Regards,
 Suresh



Re: [twitter-dev] Authenticated Search:Version 2.1.2

2010-05-10 Thread Suresh Kalass
But in code i can see Basic Authentication if passed to search method is
being stored as HttpRequest and passed on as request.Still not working.

Btw any other alternatives for it?
I need to have it at GAE for demo puropose.

Regards,
Suresh

On Mon, May 10, 2010 at 7:57 PM, Jonathan Reichhold 
jonathan.reichh...@gmail.com wrote:

 You are also using api.twitter.com/v1/search when you should be using
 search.twitter.com/search

 The low rate limit is a side affect of the incorrect endpoint.

 Jonathan

 On Mon, May 10, 2010 at 4:32 AM, seshu suresh.kal...@gmail.com wrote:

 Hi,
 Twitter api supports maximum of 150 requests per hour for an
 unauthenticated request from an ip.
 So when i hosted it on GAE i was getting response code as 420.
 Does basic authentication for the search api work? I can see we are
 passing null for auth in Twitter.java.
 I tried passing auth also.(I created an extra method). After creating
 an authenticated instance of Twitter from Factory class by passing
 userId/password.
 But still seems it was not working as i was getting 420 status for
 GAE. But was working fine locally.
 Any workarounds for this? Or are there any gaps in my understandings?

 Best Regards,
 Suresh





-- 

Best Regards,
Suresh
9321811966/9765897825