Adding “ReTweet” Buttons To Your Lens

The TweetMeme retweet button is for website and blog publishers who want to encourage their audience to tweet their content on Twitter. The button shows a live count of the number of times your webpage or blog post has been tweeted. You may have already seen buttons like this one appearing on this and other blogs all over the ‘net:

retweet « Here’s a working example. Give it a try…

Now, you can have it on your Squidoo lens too. Best of all, you don’t even need an account on Twitter, but you can help your visitors spread the word about your lens for you. This looks great in either the Guestbook module, or the Lens Love widget, or anywhere else you like.

And here’s the code you need (edit as required):

<a href="http://api.tweetmeme.com/share?url=URL of lens&source=username" target="_blank" title="retweet"><img src="http://api.tweetmeme.com/imagebutton.gif?url=URL of lens" alt="retweet" width="51" height="61" align="left" /></a>

Notes:

  • You must put in complete URL of your lens, for example: http://www.squidoo.com/squidoo. Don’t forget to put in both places, once for the link and again for the image.
  • If you have a twitter account, then put your username after &source=, so that you get credit when others do a retweet. Otherwise, leave it blank.
  • The code above will display the button on the left, with any following content wrapping around it. You can change it to be align=”right” if you prefer, or remove the alignment altogether.
  • If you get a big question mark after adding it to your lens, you should double-check your code. Make sure there aren’t any spaces or blank lines were there shouldn’t be.
  • Login to TweetMeme.com with your Twitter account, and see stats for all of your the lenses that have been tweeted.
  • Don’t feel you have to add this to every single lens you own – start with just the few that get decent traffic and a semi-technical audience.

Related posts:

  1. How to Add a FanClub Counter
  2. Saying Goodbye to ClearSpring Widgets