Fetching tweets with jQuery and the Twitter JSON API

Just thought it’d be nice to share this little script that fetches tweets using a jQuery AJAX request and the Twitter API. The script is based on a snippet I picked up from my good friend Sven Lito.

I’ve added verbose comments in the code itself, so let’s keep this post short 😉

This post is pretty old… I posted a newer version of something like this here.

The javascript

The markup