Chris Kite Programming, Computer Security, Etc.

Open Source jQuery Plugin TweetLink

04.26.2009 · Posted in JavaScript

With more and more web sites and businesses embracing Twitter, it’s important to make it as easy as possible users to share content on the social networking site. That’s why I just coded up a jQuery plugin called TweetLink, which allows web developers to easily add “Tweet This Page” buttons to their site.

After the TweetLink plugin is included, when any DOM element with class=”tweetlink” is clicked, the current page’s URL is automatically shortened using The user is then automatically forwarded to Twitter, where their status box is already filled in with the page’s title and the shortened URL.

This plugin should make it painless for web developers to include this functionality, and easy for visitors to Tweet interesting content.

Download TweetLink at the jQuery project page, or browse the code at GitHub.

One Response to “Open Source jQuery Plugin TweetLink”

Leave a Reply

SEO Powered by Platinum SEO from Techblissonline