Email Buttons
You can easily embed an image button into your email which will display a live tweet count for a particular URL.
The Code
<img src=http://api.tweetmeme.com/imagebutton.gif?url=<url> height="61" width="51" />
Paste this code into your e-mail, replacing <url> with the URL of the page you would like the Retweet count to display for.
Options
Make the button clickable
To make the image clickable surround it in an a tag. For example:
<a href="http://api.tweetmeme.com/share?url=<url>"><img src="http://api.tweetmeme.com/imagebutton.gif?url=<url>" height="61" width="51" /></a>
Make sure you replace both <url> tags with the URL of the page you would like the count displayed for.
Specify the URL Shortener to use
Within the email button you can include your choice of URL shorteners by including the details of your required shortener service within your button as shown below.
<a href="http://api.tweetmeme.com/share?url=<url>&service=<service>"><img src="http://api.tweetmeme.com/imagebutton.gif?url=<url>" height="61" width="51" /></a>
Make sure you replace both <url> tags with your URL, and the <service> tag with a URL shortener from our list on the URL Shortener page.
Specify the Short URL to use
You can specify your own shortened URL to use on the button, with this code.
<a href="http://api.tweetmeme.com/share?url=<url>&alias=<alias>&service=<service>"><img src="http://api.tweetmeme.com/imagebutton.gif?url=<url>" height="61" width="51" /></a>
Make sure you replace both <url> tags with your URL, the <service> tag with a short URL service from the URL Shortener page, and the <alias> tag with the shortened URL you want to use.
Specifying a Source i.e. rt @yourusername
To Retweet from a specific source rather than the TweetMeme account please include source=username
<a href="http://api.tweetmeme.com/share?url=<url>&service=<service>&source=<source>"><img src="http://api.tweetmeme.com/imagebutton.gif?url=<url>" height="61" width="51" /></a>
Specifying the Short URL API key
Should you decide to use a URL shortening service that requires an API key then you should use the following button code. Note: Not all Short URL services with API keys are currently supported. Please see the URL Shortener page for more on this.
<a href="http://api.tweetmeme.com/share?url=<url>&service=<service>&service_api=<api>"><img src="http://api.tweetmeme.com/imagebutton.gif?url=<url>" height="61" width="51" /></a>
Make sure you replace both <url> tags with your URL, the <service> tag with a short URL service from the URL Shortener page, and the <api> tag with the API key from your short URL service.
For more details on which shorteners we support and the details of which shorteners require an API key please go to our URL Shortener page.

(12 votes, average: 4.25 out of 5)