UPDATE: 5/26/2010: As you’ve probably noticed, I’ve replaced this code with a Topsy.com button. I like the system better, and it seems much more reliable and stable. You can apply this similarly by checking out their APIs and sample code.
UPDATE 5.13.2009: Trying to find out why the counter is not incrementing, I know there’s at least two out there…and other posts seem to work fine.
UPDATE 5.15.2009: Appears Tweetmeme might have lost some Tweets and not aggregated them into the system, they did an upgrade and things seem to be better… (their support response was admirably quick, too!)
Ran across a nice article on Daily Cycle called Re-Tweet Counter For BlogEngine.NET that shows how to add a TweetMeme Button to your site or blog. This shows how many times your post has been re-tweeted, as well as allowing your readers to easily re-tweet your article.
As you can see, I’ve added the “button” to the left of the body text within each post. As stated in the Daily Cycle post, all it takes to get up and running is a quick modification of the TweetMeme code and the PostView.aspx file in your theme. Voila, you’re good to go.
My code is slightly different than that posted on Daily Cycle, so I’ve included it here.
<div style=”float: left; padding: 10px;”>
tweetmeme_url = <%=”‘” %><%=Post.AbsoluteLink %><%=”‘” %>;
tweetmeme_source = ‘ALBsharah’;
You can also add the following line for a more “compact” version of the button:
tweetmeme_style = ‘compact’;
Enjoy… Oh, and go click the Re-Tweet button while you’re at it!