September 14th, 2009

How To Display Random Twitter Updates From Your Account

Uncategorized

twitter-status-code

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 Responses to “How To Display Random Twitter Updates From Your Account”

  1. Joshua Hatfield Says:

    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. jawadshuaib Says:

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

Leave a Reply

Website Developed By Jawad Shuaib