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.

  1. Go to Customize >>> Services .  Log in to your Twitter account and check the Send My Tumblr Posts To Twitter box.
  2. 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
  3. {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}
    
  4. That’s it, once you save and close, you will get your latest tweet updates on your Tumblr blog

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.


4 Responses to "How to Send Your Twitter Updates to Tumblr automatically"

Add Comment
  1. Steve

    December 13, 2011 at 7:37 pm

    Is there a way to have your tweets show as *posts* to your tumbr?

    [Reply]

  2. Chaparro

    April 1, 2012 at 4:15 am

    Hi, I just love your site and your code. Very helpful! Is there a way to edit the code so that it displays less tweets? I think right now it’s displaying 5 to 6 on my page. I want it to display just one.

    Thank you in advance.

    [Reply]

  3. Jassie Yutuc

    June 7, 2012 at 5:59 am

    The first step is vague. Can you make it clearer? Where’s the “send my tumblr posts to twitter” part?

    [Reply]

  4. Ruqayya

    July 11, 2012 at 8:50 pm

    Hey is there any way i can put someone other’s tweets to my tumblr? Like I have a One Direction associated tumblr and i want that their tweets automatically gets posted to my tumblr. Is that possible? Say yes please :(

    [Reply]

Submit a comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>