An interface to google URL Shortener service http://code.google.com/apis/urlshortener/overview.html
Please get an authentication API Key from Google. Instructions can be found here http://code.google.com/apis/urlshortener/v1/authentication.html#key
Coldbox Settings needed :
google_URLShortenerAPIKey
Then just use the following methods:
shorten(longURL)
expand(shortURL, throwErroronMalware)
getInfo(shortURL, projection, throwErroronMalware)
place the googleURLShortener.cfc plugin in the plugins directory and make sure the google_URLShortenerAPIKey credentials are set for the service to work properly.
01/27/2011 - added getInfo method.