How To Display Random Twitter Updates From Your Account


A year ago, I would have spent the first two paragraphs explaining Twitter. Today, I see Tila Tequila using it. So I will spare you the time and get right to it.

I thought I write a post on how I display random twitter updates on the top right corner of this website. This website pulls in a random twitter status from my account each time the website is reloaded (press F5 to give it a shot!). You can easily plug in the following code snippet to make this functionality work for your website as well.

View the live version of the twitter updates.

Grab the code snippet right here.

I have commented the code, so have fun modifying it. Post a comment or shoot me an email if you have trouble with it.

2 Thoughts on “How To Display Random Twitter Updates From Your Account

  1. I couldn’t get it to work for some reason on a Dreamhost shared server. I think it’s something to do with the simple_xml.

  2. Yes, you need simple_xml support. Does your server support it?

Leave a Reply

Post Navigation