Has anyone else had trouble getting the bit.ly API to work? Specifically, the bit.ly class from http://classes.verkoyen.eu/bitly .

PHP info shows both Curl and JSON installed on my server. But when I try to shorten a URL I get the error that I must be authenticated with bit.ly, implying that there's a breakdown in communication somewhere.

Aside from double and triple checking my bitly username and API key in the calling script I have no idea what to do next.

PS This is an attempt to get this mod working with shortened URLs (works fine with bitly disabled).