I don't think my script will work if the forum is not using the full url rewrite system (no index.php in the url), this is an option somewhere in the xf admin area.
edit: hmmm, it actually does work.. awesome :D just my smart netry method doesn't work it out
somewhere in the script, something similar to
$likes = $xml->total_likes;
should appear. This needs changing to
$likes = $xml->like_count;
HOPEFULLY the script you're using is similar to mine ;)