How to Send Your Twitter Updates to Tumblr automatically
There are many integration methods to get your Twitter account updates on Tumblr automatically, but this time we will see how to insert your twitter posts into Tumblr directly by embedding some code in your theme’s html.
How to send your Twitter Updates to Tumblr automatically.
- Go to Customize >>> Services . Log in to your Twitter account and check the Send My Tumblr Posts To Twitter box.
- Now insert the following code in your Tumblr layout, wherever you desire. Bear in mind that the Twitter updates will be displayed as links, but you can modify the looks of such updates with some CSS
- That’s it, once you save and close, you will get your latest tweet updates on your Tumblr blog
{block:Twitter}
<div id="twitter" style="display:none;">
<h3><a href="http://twitter.com/{TwitterUsername}">Latest Tweets</a></h3>
<div id="tweets"></div>
</div>
<script type="text/javascript">
function recent_tweets(data) {
for (i=0; i<data.length; i++) {
document.getElementById("tweets").innerHTML =
document.getElementById("tweets").innerHTML +
'<a href="http://twitter.com/{TwitterUsername}/status/' +
data[i].id + '"><div>' + data[i].text +
'</div></a>';
}
document.getElementById("twitter").style.display = 'block';
}
</script>
{/block:Twitter}
<!-- Put this at the bottom of the page -->
{block:Twitter}
<script type="text/javascript" src="/tweets.js"></script>
{/block:Twitter}
IF YOU WANT TO STOP TWITTER SENDING UPDATES TO TUMBLR: This time you need to delete code instead of adding any. Try finding the tag {TwitterUsername} , delete this tag and it should be enough to stop sending your twitter updates to Tumblr.

