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

Bitly URL Shortener

v1.0 Public
An interface to bit.ly URL shortener, via json

Settings Needed
Please add the following required settings to your coldbox configuration file.
  • bitly_apiversion (optional) = The version of the api to use, defaults to 2.0.1
  • bitly_apilogin = The login to use
  • bitly_apikey = The api key to use
Then just use the following methods:
  • shorten(longURL)
  • expand(shortURL, userHash)

Dependencies (0)


Dev Dependencies (0)


Drop in your plugins folder or coldbox extensions.  Also make sure you add the required credentials to the bit.ly service in order for the plugin to work.
Version 1.0
  • Initial release

 

$ box install Bitly-URL-Shortener

No collaborators yet.
 
5.00 / 1
  • Dec 05 2009 01:24 PM
  • Jun 10 2016 09:40 AM
  • 17,009
  • 2,823
  • 7