I needed to display my twitter timeline on my website and found that twitter offers an API just to do that. There is a caveat, though, you can only access the API so many times in an hour. Now, this wouldn't normally be a problem, but when your site gets more than 350 access an hour it will stop displaying the timeline.
To avoid that I wrote a PHP script that will fetch the timeline at specified intervals and cache it.
Get it below,