jQuery Twitter API plugin

jQuery Twitter API plugin

I created a Twitter plugin for jQuery that lets you get any user's latest twitts and information about the user like user bio, home url, location, etc.

Here is how you can use it to get latest 10 posts of "jQueryHowto" Twitter user:

// I am query data for "jqueryHowto" user
$.jTwitter('jqueryHowto', function(userdata){

  //Callback functn with the user data and posts
  $('#profile input.url').val(userdata.user.url);

  $('#profile #avatar').html('<img src="'
       + userdata.user.profile_image_url + '" />');

});