Prompted by an article by Andreas Gohr [splitbrain.com] giving a PHP function to get StumbleUpon rankings for a given URL I decided to revisit the SocialList Wordpress plugin I wrote in 2007 (I see someone else has taken the name for a different plugin now, guess that’s what I get for leaving it 2 years!)

Unfortunately Andreas mentioned that his method doesn’t work anymore as StumbleUpon have changed something. Well, I didn’t have anything better to do this evening, so I’ve reworked Andreas’ code and come up with a solution that works with the StumbleUpon changes.

View/download stumblecounts.php

This function should be pretty much a direct replacement for the one in the splitbrain.com article and the same instructions apply especially that to make it work you will need to set the two variables at top of the function.