Saturday, April 2, 2011

[twitter-dev] Twitter search api rate limit

Hi Team,
I am using grackle client to retrieve results from search api of
twitter. i am passing oauth parameter to retrieve 350 requests per
hour. Though I am doing it right it still retrieves me only 150
requests per hour. I tried to verify account/verify_credentials and
found i am passing the correction oauth params.
Here is my dev code with Grackle gem

twitter_client = Grackle::Client.new(:auth=>{
:type=>:oauth,
:consumer_key=>'key,
:consumer_secret=>'secret',
:token=> 'token',
:token_secret=> 'xxxx'
},
:headers => {"User-Agent" => "example.com"})

I am passing User-Agent as I have seen it mentioned in rate limit api
if it is correctly passed we can retrieve 350 requests per hour.
Could you let me know if I am mssing something or should pass anything
with Grackle api call to get 350 requests per hour using oauth.

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

No comments:

Post a Comment