Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 304ce66bfd
Fetching contributors…

Cannot retrieve contributors at this time

85 lines (56 sloc) 3.091 kb

Tweet!

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

cdzombak's fork

  • adds option to turn user linking off (for use with Twitter's hovercards)
  • adds option to turn hashtag linking off
  • moves date from before to after the tweet

Demo

tweet.seaofclouds.com and seaofclouds.com

Source

github.com/seaofclouds/tweet/tarball/master

Features

  • small size and fast download time
  • will not slow down or pause your page while tweets are loading
  • display up to 100 tweets, as permitted by the twitter search api
  • display tweets from a twitter search, or from your own feed
  • optional verb tense matching, for human readable tweets
  • optionally display your avatar
  • optionally display tweets from multiple accounts!
  • automatic linking of @replies to users’ twitter page
  • automatic linking of URLs
  • automatic linking of #hashtags, to a twitter search of all your tags
  • converts <3 to a css styleable ♥ (we ♥ hearts)
  • customize the style with your own stylesheet or with other jquery plugins

Usage

Note: tweet does not need to be in the page head, necessarily.

  1. Get JQuery. In these examples, we use Google's AJAX Libraries API. See: code.google.com/apis/ajaxlibs/ jquery.com/

  2. include jQuery and jquery.tweet.js files in your template's <head>.

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

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

  5. Style with our stylesheet in <head>, or modify as you like!

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 at http://seaofclouds.lighthouseapp.com/projects/14179-tweet/overview

License

Licensed under the MIT License.

Jump to Line
Something went wrong with that request. Please try again.