Nov 23, 2009 by Matt | Posted in Coding
I didn’t know this until recently, but Tweetmeme has an API for displaying the number of times and URL has been retweeted. A quick request to http://api.tweetmeme.com/url_info?url=[the URL] will return an XML, JSON or PHP response. You can pass the full URL as the argument, or a short URL that goes to the same place.
<title>Learning CSS Sprites</title>
<excerpt>Learning CSS Sprites http://bit.ly/3HlYUl</excerpt>
If you want to see a quick example of how you can use the API, have a look at this WP Recipes snippet: Display the number of tweets for each page or post.
Oct 13, 2009 by Matt | Posted in Coding
Are you looking to create a simple link to retweet a page, but you don’t need a fancy Tweetmeme counter with it? Try something like this:
<a href="http://twitter.com/home?status=RT @redwall_hp <?php the_permalink(); ?>"
title="Retweet this page">Tweet it!</a>
When clicked, it takes the visitor to Twitter, where it fills-in the update box for you.
Just be sure to change “@redwall_hp” to your username.
Sep 22, 2009 by Matt | Posted in Featured, Software & Scripts
As you may know, my favorite desktop client is Tweetie for Mac. If you use Twitter through a desktop client (whether it’s Tweetie or some other), you probably wish you could click those green retweet buttons and have them open in your client instead of taking you to Twitter.com.
Now you can, at least, if you use Tweetie for Mac.
I whipped-up a quick Greasemonkey script, known as Tweetie Retweet URL Replacer, that rewrites any Tweetmeme button you come across to load the retweet into Tweetie.
This works on the same principle as the bookmarklet that Atebits supplies on the Tweetie website.
At the present, the userscript only works with Tweetmeme buttons, but I may expand it to include other popular widgets in the future.