Thursday, May 27, 2010

Goo.gl URL Shortening Call

Need to shorten some URLs? I put together a quick and dirty page to do it:


I wanted to use goo.gl for my android app links and had to do some digging to find out how to make the call, but in the end had some success.

For now, if you go to the Goo.gl Caller you can see what's going on if you look at the JavaScript for the page. I have the look-up posting back to my page to prevent the cross-domain issue, but if you're running it say from your local machine you could just change the url in the JavaScript to http://goo.gl/api/url and it should work with IE.

HTH!

No comments: