FORGEBOX Enterprise 🚀 - Take your ColdFusion (CFML) Development to Modern Times! Learn More...

Google URL Shortener

v2.0 Public
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.

Here are all the versions for this package. Please note that you can leverage CommandBox package versioning to install any package you like. Please refer to our managing package version guide for more information.

Version Created Last Update Published By Stable Actions
Current
2.0 Jan 23 2011 11:33 PM Jun 09 2016 04:52 AM

 

No collaborators yet.
 
5.00 / 1
  • Jan 23 2011 11:33 PM
  • Jun 09 2016 04:52 AM
  • 10,595
  • 2,065
  • 13