jQuery plugin to fetch tweets using the Twitter JSON API

Over a year ago I posted a script showing how you could fetch tweets using jQuery and Twitter’s JSON API, and to my surprise it has had a decent amount of traffic. So now that I’ve been learning more JavaScript and jQuery I decided to re-write the script as a jQuery plugin.

The plugin allows for much easier re-use and integration as well as adding some features like optionally showing the users profile data and autorefresh.

Once jQuery and the plugin are loaded you can load a user’s tweets as simple as:

Hope you enjoy!