Settings

Theme

Google Code Blog: Google URL Shortener gets an API

googlecode.blogspot.com

33 points by motvbi 15 years ago · 14 comments

Reader

NathanKP 15 years ago

That's nice. I've been using the following piece of sneaky ghetto code to take advantage of Google Toolbar's URL shortening API:

http://codepaste.net/48qfb7

But now I'll be able to shorten URL's with an official API rather than using a hack. I don't know why Google didn't make a public API from the start.

burgerbrain 15 years ago

Now if only they would start using this. Google Maps' permalinks are absolutely terrible for example...

  • jedc 15 years ago

    1. Go to Google Maps.

    2. Click "Labs"

    3. Enable "Short URL" lab.

    Problem sorted!

schumihan 15 years ago

If I tries to shorten the url of http://google.com several times, goo.gl always give back different result. I just wonder will goo.gl merge theses url together sometime later?

This interesting found implies how goo.gl is designed. They prefer writing directly to avoid duplication check and random seek caused by the check. And they though most of the urls are cold so it is not essential to merge them together to keep the hot cache small.

Or they assume nobody wants to play the system in this way. :-)

  • slig 15 years ago

    They have to do different URLs each time because you get stats for each shortened URL.

antimatter15 15 years ago

A few apps have been using the exact same API (though it wasn't officially documented until now) for some time now.

frankacter 15 years ago

Any insight to whether this would be rolled into a Google Apps for your domain offering?

We're using yourls.org currently for our short domain name and would welcome ($) the opportunity of offloading the traffic to Google's servers.

togasystems 15 years ago

Does it include the QR generator?

joshfraser 15 years ago

Thanks Google, but we're already happy with bit.ly. URL shorteners were hot a year ago. Now, not so much.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection