Twit - Display Twitter Tweets on a Blog.

Twit is a jQuery Plugin to Display Twitter Tweets on a Blog

Demo

Loading jQuery tweets.

Quick Start

Starting with twit is really easy!

Setup:

Include the script and stylesheets in your document (you will need to make sure the css and js file are on your server, and adjust the paths in the script and link tag)

<link href="jquery.twit.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="jquery.twit.js"></script>

Javascript:

Only username is required.

Username means the screen name. http://twitter.com/screen name

$('#id_of_container').twit(username);
$('#id_of_container').twit(username, {
  limit: 5,
  label: 'Twitter',
  title: 'My tweets'
});

HTML:

<div id="id_of_container"></div>

Options:

option type default
count integer 200 Specifies the number of statuses to get. May not be greater than 200.
callback function If supplied, the response will use the JSONP format with a callback of the given name.
icon boolean true
label string 'Twitter'
limit integer 7 Specifies the number of statuses to display.
title string ''
text boolean true
username boolean true