Hello Jazz,
Unfortunately the rate limiting for search.twitter.com is handled
separately from the main twitter.com API. I see you also sent a copy
of this mail to my address directly so I will work with you there to
resolve the issue.
Thanks;
— Matt Sanford
On Feb 12, 2009, at 12:31 PM, jazzysingh wrote:
Hello,
I am trying to use the Rest Api with a search term, but cannot seem to
find any documentation on it. Here's a detailed explaination of my
problem:
I have an increased rate limit of 20 000. If I do a a user_timeline
search (i.e. http://twitter.com/statuses/user_timeline/
#{twitter_username}.xml)
it counts towards my limit and everything works fine.
However if I do a search using the search API (i.e.
http://search.twitter.com/search.json?q=<query>) using the ruby
Twitter Gem (Twitter::Search.new.contains(<query>).fetch()) it does
not count toward my rate limit and eventually I get a rate limit error
("You have been rate limited. Enhance your calm.")
Looking at these results it is to my understanding that I need to use
the Rest Api so I don't get rate limited.
My Question: How do I perform keyword searches using the Rest API? My
application depends on keyword searches. Any help would be greatly
appreciated.
Thanks in advance
Jazz