Hello,
I’m having trouble with the officical twitter timeline plugin under EE1.7.0. The plugin displays tweets just fine, but it never seems to cache data, resulting in a 1.5-2 second addition to each page load while the plugin fetches fresh data.
{exp:twitter_timeline
screen_name="username"
limit="5"
create_links="user_mentions|hashtags|urls"
twitter_refresh="30"
}
<div class="tweet">
<div class="author">
<div class="icon">
{profile_image_url}
</div>
</div>
<div class="status">{text}</div>
<div class="date">{created_at format="posted at %g:%i on %d/%m/%y"}</div>
</div>
{/exp:twitter_timeline}My template debug output looks something like this (not that it tells you a whole lot):
(0.756230) Tag: {exp:twitter_timeline screen_name="username" limit="5" create_links="user_mentions|hashtags|urls" twitter_refresh="30" }
(0.756414) Closing Tag Found
(0.756515) Processing Tags
(0.756567) Plugin Tag: Twitter_timeline/twitter_timeline
(0.756587) Including Files for Tag and Modules
(0.758314) Beginning Final Tag Data Processing
(0.758342) Calling Class/Method: Twitter_timeline/twitter_timeline
(0.758552) -> Class Called: Twitter_timeline
(0.758611) Using 'user' Twitter Timeline For User username
(0.758666) Fetching Twitter timeline remotely
(2.270401) -> Method Called: twitter_timeline
(2.270433) -> Data Returned
(2.270502) - End Tag Processing -It does that every time, even if the tag was called a few seconds ago. I’ve tried enabling/disabling tag caching and template caching but to no avail.
Any ideas?