Saturday, December 15, 2012

Google URL Shortening API by ColdFusion

I was trying to use Google URL shortening API by using ColdFusion. I have written two ColdFusion function which will take Short/Long URL as input parameter then it will return a structure which would have been returned by Google contains both Short/Long URL for the passed value in input parameter.


If you will  try with the following example:

Long URL: https://developers.google.com/url-shortener/
Short URL: http://goo.gl/pZbaF

We will get the following result:






10 comments:

  1. Nice One, You can get more details from the following google developer URL:

    https://developers.google.com/url-shortener/v1/getting_started

    ReplyDelete

Followers