Tweet!

put twitter on your website with tweet!, an unobtrusive javascript plugin for jquery.

Demo

displaying three tweets from the seaofclouds twitter feed. you can also see the script in action at seaofclouds.com

Download

Tar or Source or Github

Features

Usage

In your template's <head>, include jQuery and tweet javascript files

<script language="javascript" src="/tweet/javascripts/jquery.js" type="text/javascript"></script>
<script language="javascript" src="/tweet/javascripts/jquery.tweet.js" type="text/javascript"></script>

Also in <head>, Initialize tweet! on page load with your Username and other options

<script type='text/javascript'>
    $(document).ready(function(){
        $(".tweet").tweet({
            username: "seaofclouds",
            join_text: " we were ",
            count: 5,
        });
    });
</script>

In <body>, include a placeholder for your tweets. They'll get loaded in via JSON. How fancy!

<div class="tweet"></div>

Contribute

Bring your code slinging skills to Github and help us develop new features for tweet!

git clone git@github.com:seaofclouds/tweet.git

Report bugs in our lighthouse tracker

Licensed under the MIT

http://www.opensource.org/licenses/mit-license.php