TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Google Code Blog: Google URL Shortener gets an API

33 pointsby motvbiover 14 years ago

7 comments

NathanKPover 14 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:<p><a href="http://codepaste.net/48qfb7" rel="nofollow">http://codepaste.net/48qfb7</a><p>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.
burgerbrainover 14 years ago
Now if only <i>they</i> would start using this. Google Maps' permalinks are absolutely <i>terrible</i> for example...
评论 #2090337 未加载
schumihanover 14 years ago
If I tries to shorten the url of <a href="http://google.com" rel="nofollow">http://google.com</a> several times, goo.gl always give back different result. I just wonder will goo.gl merge theses url together sometime later?<p>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.<p>Or they assume nobody wants to play the system in this way. :-)
评论 #2090629 未加载
antimatter15over 14 years ago
A few apps have been using the exact same API (though it wasn't officially documented until now) for some time now.
frankacterover 14 years ago
Any insight to whether this would be rolled into a Google Apps for your domain offering?<p>We're using yourls.org currently for our short domain name and would welcome ($) the opportunity of offloading the traffic to Google's servers.
评论 #2091429 未加载
togasystemsover 14 years ago
Does it include the QR generator?
评论 #2090229 未加载
joshfraserover 14 years ago
Thanks Google, but we're already happy with bit.ly. URL shorteners were hot a year ago. Now, not so much.
评论 #2091022 未加载