Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm using this in a php block
if (function_exists('twitter_pull_render')) {
print twitter_pull_render('@user', 'Title', 1);
}
Error:
Could not retrieve data from Twitter. The error message received was: Rate limit exceeded. Clients may not make more than 150 requests per hour..This site may be subject to rate limiting. For more information, see:http://apiwiki.twitter.com/Rate-limiting
Block cache is enabled.
Comments
Comment #1
Terix-1 CreditAttribution: Terix-1 commentedDo you have minimal cache lifetime set?
Comment #2
adamcadot CreditAttribution: adamcadot commentedI haven't changed any of the default files that came with the module.
Comment #3
arithmetric CreditAttribution: arithmetric commentedIs your site running on a shared server? It's possible that you are getting the rate limit if other sites on the same server (and same IP address) are making requests as well.
Comment #4
adamcadot CreditAttribution: adamcadot commentedYes, I am
Comment #5
radekdostal CreditAttribution: radekdostal commentedI had experienced similar problem, so I created a patch which helps a lot on shared webhosting:
http://drupal.org/node/1820002
Any comments will be greatly appreciated.
Comment #6
Danny EnglanderI just started getting this error on a my VPS with a dedicated IP address and there is only one site on the server. I will try the patch in the link in # 5 above. It's also using the block method. Elsewhere on my site, I am using CCK to pull in Tweets and those areas are fine so it's just the block code where I have issues.