Twitter : How To Get Latest Tweet Of Using API And Javascript

Hello Friends,some days ago I thought to get my last/latest tweet of my twitter account to show it in my blog, So I have searched a lot to get latest tweet of my twitter account and finally I found one way by which we can get latest tweet of our account by adding two javascripts and some html. Below are steps to get latest tweet of account.

1. Copy Paste Below code Where we want to show latest/last tweet.

<div id="twitter_update_list"></div>

2. In this step paste two javascripts line given below below the code you have put in step 1. In the below javascript lines you will see fonts in red ‘hackingethics‘ which you have to replace by your twitter username.

<script type="text/javascript" src=""></script>
<script type="text/javascript" src=""></script>

3. When you run your page you will get latest/last tweet of your twitter account, Now if you want to change its looking then you can do CSS changes to make it beautiful.

4. You can see I have made one twitter bird above beside my logo, When you mouse hover that twitter bird it will show you latest/last tweet.

  • bernard

    Very nice! But loading the tweet stops loading the page for a second. Is there a way to fix that?

  • Put the script code before your end body tag.

  • this helps a lot!
    thanks you!

  • Genius… thanks!

  • Tsoloo

    XML error message: The reference to entity “count” must end with the ‘;’ delimiter i get this error. What should i do?

  • Catalysts SEO

    Thanks for sharing interesting information twitter relevant and After see entire blog, I going to through try to utilize this java script on my account… SEO services