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.
When Twitter is offline, the module always makes attempts to get recent tweets and return old ones if fails to do so.
However, the timeout of 2 seconds is still too big for high-traffic sites (2 seconds of Apache cost really much in busy environments).
A workaround to this is doing requests less frequently, if Twitter is down.
Note: all that makes sense only if tweets are retrieved server-side (not via an Ajax request), using twitter_pull_retrieve
function.
Patch pending...
Comments
Comment #1
lex0r CreditAttribution: lex0r commentedThe patch (version 1)
Comment #2
lex0r CreditAttribution: lex0r commentedOne more patch, now a combined version that includes fixes from
http://drupal.org/node/1652046
Comment #3
q11q11 CreditAttribution: q11q11 commentedAnother patch (now for rc5) to combine
#2 from this thread
and
#76 from "Make the Twitter Pull module work when Twitter turns off the version 1 API"
Comment #3.0
q11q11 CreditAttribution: q11q11 commentedMore details added