Retweet Your Page With Predefined Message - mb.retweet

File Size: 13.4 KB
Views Total: 513
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
Retweet Your Page With Predefined Message - mb.retweet

mb.retweet is a small and easy-to-use jQuery plugin which lets your visitors to easily retweet your page with support for custom/predefined retweet messages, retweet counter and the short URL of your page (using the API).

How to use it:

1. Insert the stylesheet mb.retweet.css and JavaScript mb.retweet.js into the page.

<link href="css/mb.retweet.css" rel="stylesheet">
<script src="" 
<script src="inc/jquery.mb.retweet.js"></script>

2. Get a API here and insert your Username & API key into the JavaScript. If you don't want to use to short your URLs, the plugin will use the original URL instead.

user:"Your Name",
key:"API Key",

3. Create a link for the retweet button.

<a class="mbretweet" id="demo" href="">Retweet</a>

4. Initialize the plugin on the retweet button and done.


5. You can also specify the page url displayed in the retweet message.

<a class="mbretweet" id="demo" href="">Retweet</a>

6. Customize the appearance of the retweet button.


  // text displaye din the button

  // prefix
  prefix:"RT @jqueryscript ",

  // background color

  // shows comment panel

This awesome jQuery plugin is developed by pupunzi. For more Advanced Usages, please check the demo page or visit the official website.