Get your latest twitter updates without using a plugin

I know there are many plugins out there that are capable of grabbing your twitter feed, but what if you do not want to use a plugin? Today I have come across a line of code that contains pure JavaScript and HTML and will grab your twitter feed.

The Code

Copy and paste the code below where you would like for your latest twits to show.

This is a quick and easy solution for those who are searching for ways to add twitter feed to their sites using pure code and not a plugin. I hope this worked well for you all as it did for me.

Joe Granados the author

Joe Granados is the owner of WebDevTuts. He is also a web designer & developer who loves to design and develop websites. If you're looking for him you can find him via @webdevtuts
  1. Just wondering why you’d use this instead of the styleable twitter widget available from twitter themselves?
    http://twitter.com/about/resources/widgets/widget_profile

    It is as much pure code as the solution provided here (which I’m taking to basically mean no server-side code for contacting twitter is required).

    Also of note – the code you have isn’t valid HTML. tags are only allowed in the and elements (the preference being to put them just before your closing tag to allow fast page loading).

    Client-side only solutions are great though. I’m using one on my site now (still under construction) to avoid having any server-side scripting at all 🙂

    • Marcell says:

      The reason to use something like the twitter script in this tutorial is you have the ability to customize it. The twitter one you’ve link above is really only for placing the widget on your website. Most people do not want it displaying on their website because it looks like a big box.

Leave a Reply