On 2nd August I released a revised version of my bit.ly ColdFusion CFC Wrapper.
I had received an email from a user of the component who was having trouble with certain errors being returned from various calls to the API.
After a little investigation, I discovered that the API itself had changed; the code within the CFC was now failing due to an upgrade within the actual API.
What's changed?
Quite a lot seems to have changed in the API version upgrade.
The error and stats methods from the version 2 API have now been deprecated and are no longer in use.
The current methods now available within the version 3 API are:
- shorten
- expand
- validate
- clicks
- bitly_pro_domain
- lookup
- authenticate
- info
As well as the available methods, the base URL for the API call was also changed. As such, this change has also been amended in the latest release of the bit.ly CFC wrapper.
How do I get it?
If you are using the CFC wrapper, I'd kindly suggest you upgrade to the latest version to avoid any unwanted errors due to the API change.
You can download the revised version of the API wrapper from bitly.riaforge.org