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

Bitly URL Shortener

v1.0 Plugins
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)
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
  • {{ getFullDate("2009-12-05T13:24:34Z") }}
  • {{ getFullDate("2016-06-10T09:40:21Z") }}
  • 19,615
  • 4,778