If the Twitter API isn't available your page can take up to 30 seconds to load until the timeout is reached. I cooked up a quick patch to enable lazy loading of the tweets rendered by twitter_pull_render() to prevent this.

It's probably best to check if javascript is enabled on the client's browser, but it seems to work fine here!

Comments

grndlvl’s picture

StatusFileSize
new4.85 KB

Re-rolled patch against 7.x-1.x.

Added ability for lazy loading option in twitter_pull_blocks hook.

Patch also applies to 7.x-1.0-rc1.

jerdavis’s picture

Status: Active » Needs review

Changing status to needs review as there's a patch here.

Sinan Erdem’s picture

Waiting for the 6.x version...

jec006’s picture

Status: Needs review » Fixed

Hi,

This functionality is great - as especially relevant today (as twitter was down for about 30m).

I've committed this patch here: http://drupalcode.org/project/twitter_pull.git/commit/36b8405
and also committed a timeout fix for the general call which will help prevent broken sites when twitter is down (and just keep serving cached content until it comes back): http://drupalcode.org/project/twitter_pull.git/commit/6116b61

Thanks again

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.