-
nnnostalgia asked: why won't my twitter updates thing work?
I use Tumblr’s twitter function, which only works sometimes. Maybe it’s just the way I’m doing it, but that’s how it is… You can see it not working or working here, too.
-
Bug Fix: Twitter Updates for Private Accounts
My way of displaying your Twitter updates worked fine unless you had a private account. If you had one, it would display an annoying sign in message on every page. Tumblr’s example of pulling in your Twitter updates doesn’t do this, so I switched to using it. The update is available in the Theme Garden (two weeks after it was submitted).
If you’ve customized a recent update to the theme and don’t want to install the update and re-customize, all you have to do is go down to the end of the theme code, find the
{block:Twitter}tag, and replace it with the code below:{block:Twitter} <script type="text/javascript"> function recent_tweets(data) { for (i=0; i<data.length; i++) { document.getElementById("tweets").innerHTML = document.getElementById("tweets").innerHTML + '<li>' + data[i].text + ' <a href="http://twitter.com/{TwitterUsername}" title="{TwitterUsername} on Twitter">follow me →</a></li>'; } document.getElementById("twitter").style.display = 'block'; } </script> <script type="text/javascript" src="/tweets.js"></script> {/block:Twitter}