News for hackers. Stuff that matters.
Re:Twitter's mandatory link shortener, t.co, was down by mseebach on Monday October 08, 2012 @02:35AM (#4625749)
I can see how Twitters length-limit led to external link shorteners, but once they took it in-house, why expose it? Why not just say that a link (of any length) "costs" n characters, and handle the shortening/expansion on the backend? What is the benefit of exposing the mechanism?
Re:Twitter's mandatory link shortener, t.co, was down by kcl on Monday October 08, 2012 @02:44AM (#4625773)
Twitter wants to route links through their servers for at least two reasons:

  1. Analytics and monitoring. (Google's results page uses the same technique.)
  2. Disabling malicious and unwanted links.
Re:Twitter's mandatory link shortener, t.co, was down by kapitalx on Monday October 08, 2012 @02:56AM (#4625801)
On the google note, their URL redirects have dramatically slowed down my experience. They seems to have a very slow redirect.
Re:Twitter's mandatory link shortener, t.co, was down by kcl on Monday October 08, 2012 @03:08AM (#4625824)
Redirects of all types are especially bad on mobile devices since they require a pointless new round trip, which anecdotally seems to double the amount of time it takes for a webpage to start loading.

Since Facebook and many other services do this on their mobile apps by default, I am surprised I don't hear more complaints about it. Twice through the cell tower is too long.

Re:Twitter's mandatory link shortener, t.co, was down by pserwylo on Monday October 08, 2012 @04:29AM (#4625991)
I couldn't agree more. I looked a short while ago for a firefox extension which just looks for a url in the body of an anchor link, then alerts you if the htef attribute is different. Couldn't find one or be stuffed writting one, but was bemused about the relative lack of info on the topic.

My last straw using Google Chrome, was when I noticed that the browsers "could not load webpage" (e.g. When you don't have an Internet connection) redirects through Google when I click the "try reloading the page". I dunno if they still do it, but that was crossing the line for me.

Re:Twitter's mandatory link shortener, t.co, was down by beagle3 on Monday October 08, 2012 @11:08AM (#4627157)
Thanks to google's recent shenenigan's, I've switched to using StartPage. Which, at least for now, is google without big brother tracking. Although I'm sure if it gets popular, google will stop them.
Re:Twitter's mandatory link shortener, t.co, was down by guelo on Monday October 08, 2012 @02:50AM (#4625786)
Google search does not use the same technique.
Re:Twitter's mandatory link shortener, t.co, was down by damncabbage on Monday October 08, 2012 @02:55AM (#4625799)
What's the difference?

* User browses on Twitter, clicks link in tweet pointing to t.co, is redirected off to the page where they wanted to go.

* User searches on Google, clicks link in search result pointing to google.com, is redirected off to the page where they wanted to go.

Admittedly it only happens with half of the search results of the first page (I think; it seems to vary), but it's very much the same technique.

Re:Twitter's mandatory link shortener, t.co, was down by kcl on Monday October 08, 2012 @03:31AM (#4625883)
If he was not misled by the false "on hover" representation of the link in his address bar, then its possible he means:

1. That Twitter uses a "short link" where Google uses some kind of (I trust) token-secured "open redirect"

or

2. That Google uses a {Javascript, 301, ...} redirect where Twitter uses a {Javascript, 301, ...} redirect.

Depending on what User-agent I sent, I got Twitter to variously return a Javascript or 301 Moved Permanently response. I could only get Google to return a Javascript response to cURL, but I did not try hard, and I would not rule out Google employing different redirect methods, particularly on their search results page. Google is notorious for falling back to different methods depending on the particulars of the client. See:

http://www.stevesouders.com/blog/2010/07/12/velocity-forcing...

So they at least both use the Javascript method. In any event, if you mod out the content of the hyperlink after the domain, and mod out the content of the text based HTTP response (!), which is fair here, then the methods are all equivalent, and all generate the same server diagrams.

In this case, there is not much difference between the browser parsing plaintext in HTTP headers that tells it to go to a different site and the browser parsing plaintext in an HTTP body that tells it to go to a different site once executed in a Javascript engine.

Re:Twitter's mandatory link shortener, t.co, was down by guelo on Monday October 08, 2012 @03:44AM (#4625908)
How does the fake link hover work? With Javascript turned off the first time I hover over a link I see the google redirect url but the second time I hover I see the fake url.
Re:Twitter's mandatory link shortener, t.co, was down by hrrsn on Monday October 08, 2012 @05:26AM (#4626098)
<a href="http://www.fakehover.com onclick="window.location='http://www.goto.com/>; I presume.
Re:Twitter's mandatory link shortener, t.co, was down by damncabbage on Tuesday October 09, 2012 @02:33AM (#4630288)
Re:Twitter's mandatory link shortener, t.co, was down by guelo on Monday October 08, 2012 @03:35AM (#4625889)
Well that sucks, I stand corrected. I was looking at browser's link hover and hadn't noticed the redirect. I still don't understand why the browser isn't telling me what I'm clicking on, that's bothering me.
Re:Twitter's mandatory link shortener, t.co, was down by andreasvc on Monday October 08, 2012 @07:46AM (#4626400)
It's because Javascript is allowed to override what's in the status bar.
Re:Twitter's mandatory link shortener, t.co, was down by eli on Monday October 08, 2012 @10:24AM (#4626958)
More precisely in this case, it's because Javascript is allowed to override where clicking on a link actually takes.
Re:Twitter's mandatory link shortener, t.co, was down by djcapelis on Monday October 08, 2012 @03:28AM (#4625875)
It does these days actually, but the urls are re-written by javascript only after you click on them. Try a right click.
Re:Twitter's mandatory link shortener, t.co, was down by andreasvc on Monday October 08, 2012 @07:50AM (#4626407)
"Right click - copy link" is what's most annoying about this URL redirection. You don't want to send an URL of 4 lines in an email or IM, so then you have to go visit the link and get the real address from there.

Can't they do something where the HREF is left intact, but an additional onClick is added to track clicks?

Re:Twitter's mandatory link shortener, t.co, was down by brian_cloutier on Monday October 08, 2012 @02:40AM (#4625759)
If you're a regular user it's not exposed. Links are shown with their full url on the site and the user is usually redirected before tthey have a chance to notice they're being sent through t.co
Re:Twitter's mandatory link shortener, t.co, was down by mseebach on Monday October 08, 2012 @02:45AM (#4625774)
It is very much exposed: The regular user can't click on links on Twitter because it's down.
Re:Twitter's mandatory link shortener, t.co, was down by justincormack on Monday October 08, 2012 @04:15AM (#4625972)
I am a regular user but mostly on mobile. Often I give up on links as it gets stuck loading t.co and I notice constantly.
Re:Twitter's mandatory link shortener, t.co, was down by TazeTSchnitzel on Monday October 08, 2012 @02:40AM (#4625760)
Backwards compatibility.
Re:Twitter's mandatory link shortener, t.co, was down by mseebach on Monday October 08, 2012 @02:47AM (#4625779)
It could be as simple as a flag on the API: Do you want shortened links and a guarantee that the message is less than 140 characters, or full link, with a risk that it will "spill over". As most (all?) clients expand links anyway, they'd be choosing the latter.
Re:Twitter's mandatory link shortener, t.co, was down by mdonahoe on Monday October 08, 2012 @02:35AM (#4625745)
Am I supposed to be mad at twitter for forcing me to use their unreliable link shortener?

How is this any different from the countless times twitter.com was down?

It's a centralized service, things happen.

Re:Twitter's mandatory link shortener, t.co, was down by lloeki on Monday October 08, 2012 @03:14AM (#4625841)
> Am I supposed to be mad at twitter for forcing me to use their unreliable link shortener?

Yes.

> How is this any different from the countless times twitter.com was down?

This is different because if I read a tweet cached in my client or archived somewhere I can't reach an external resource because a middleman is down.

> It's a centralized service, things happen.

The WWW is decentralized by design. Link shorteners, and reliance on them, make it obnoxiously centralized. The tweet itself should contain the full link and shorten it only on display [0] [1].

[0] https://alpha.app.net/marco/post/783814

[1] https://alpha.app.net/marco/post/783881

Re:Twitter's mandatory link shortener, t.co, was down by gjulianm on Monday October 08, 2012 @03:21AM (#4625859)
Actually...

https://dev.twitter.com/docs/tweet-entities

The tweet response contains the full link.

Re:Twitter's mandatory link shortener, t.co, was down by lloeki on Monday October 08, 2012 @03:50AM (#4625922)
Interesting.

So, why is (apparently) everyone — including Twitter — sending us through t.co?

Example here[0] where you can see Twitter displays "mlkshk.com/r/K29L.jpeg" in the tweet, downright lies to you when hovering over it with "http://mlkshk.com/r/K29L.jpeg while the real href is http://t.co/fqxnG84t.

So, WWW broken.

[0] https://twitter.com/xkcdrss/status/255158017253838848

Re:Twitter's mandatory link shortener, t.co, was down by gjulianm on Monday October 08, 2012 @03:56AM (#4625936)
I imagine that Twitter sends you through t.co for tracking and analytics purposes. But a lot of Twitter clients just send you to the full URL.

(By the way, I have to check if Twitter forbids bypassing t.co shortened URLs in third party clients).

EDIT: As I supposed, the display requirements say that the clients should send the user through t.co https://dev.twitter.com/terms/display-requirements

Re:Twitter's mandatory link shortener, t.co, was down by jaggederest on Monday October 08, 2012 @04:05AM (#4625954)
And that's why we should be mad at twitter. Sorted.
Re:Twitter's mandatory link shortener, t.co, was down by joebadmo on Monday October 08, 2012 @02:48AM (#4625781)
Which is why we shouldn't use centralized services like Twitter. I'm rooting for http://tent.io/ myself.
Re:Twitter's mandatory link shortener, t.co, was down by digitalengineer on Monday October 08, 2012 @05:00AM (#4626047)
However, if someone places a shortened url via tent you'd still not be able to click the link if the shorten-service is down.
Re:Twitter's mandatory link shortener, t.co, was down by arcatek on Monday October 08, 2012 @02:19AM (#4625713)
When a HN twitter bot has tweeted this story, I actually clicked on the link.

Genius.

Re:Twitter's mandatory link shortener, t.co, was down by mopoke on Monday October 08, 2012 @01:52AM (#4625650)
Looks like a DNS failure, so adding 199.59.148.12 to your hosts file gives you working t.co links again.
Re:Twitter's mandatory link shortener, t.co, was down by farms on Monday October 08, 2012 @02:15AM (#4625708)
It's also listed in Spamhaus http://www.spamhaus.org/dbl/removal/record/t.co - so it could be someone's filter going nuts over that.

Funny recommendation there:

"If you are an authoritative administrator of t.co and you have solved the abuse issues you can write to us at [email protected] from either [email protected] or [email protected] and inform us of the actions you have taken to clean up the current spammer URLs. Please also inform us of any steps you have taken to prevent future abuse of your shortener/redirector. We will review your request and, at our discretion, remove the listing or respond to your request."

:)

Re:Twitter's mandatory link shortener, t.co, was down by dm8 on Monday October 08, 2012 @02:08AM (#4625693)
I find my Twitter useless now (although I can still copy links). It's amazing to see how Twitter has become my information/discovery network. I use Facebook just to browse pictures and other casual stuff shared by my friends/family.

Twitter can kill Flipboard and other tons of "discovery engines" with one flip. I think Twitter has figured out this stuff couple of years back and that's what they are doing. A real-time discovery network. It is more powerful than any of the existing old mediums, be it newspapers or TV networks.

EDIT: It also makes extremely powerful advertising medium.

Re:Twitter's mandatory link shortener, t.co, was down by generj on Monday October 08, 2012 @01:59AM (#4625670)
I'm sure someone is having an interesting conversation right now. Twitter needs to stop having these embarrassing down-ages if they want to be a permanent player in the tech field.
Re:Twitter's mandatory link shortener, t.co, was down by beagle3 on Monday October 08, 2012 @02:35AM (#4625746)
They've had them all along. Didn't stop them from getting to where they are. Why should they start caring now? From a cost/benefit perspective, it is probably not worth it to them to do whatever is needed to have a six nines uptime.
Re:Twitter's mandatory link shortener, t.co, was down by paulgb on Monday October 08, 2012 @10:19AM (#4626934)
They had so much downtime in the early days that their 500 page became a meme http://www.whatisfailwhale.info/
Re:Twitter's mandatory link shortener, t.co, was down by x5315 on Monday October 08, 2012 @03:01AM (#4625813)
We care. We're working on it.
Re:Twitter's mandatory link shortener, t.co, was down by dylanhassinger on Monday October 08, 2012 @03:35AM (#4625888)
Appreciate the responsiveness. But forcing us to use your link shortener does not send a message of "we care"
Re:Twitter's mandatory link shortener, t.co, was down by x5315 on Monday October 08, 2012 @04:34AM (#4625999)
What I meant was that we care about uptime, and we're working on improving that.
Re:Twitter's mandatory link shortener, t.co, was down by panacea on Monday October 08, 2012 @02:04AM (#4625684)
And nothing of value... /snark
Re:Twitter's mandatory link shortener, t.co, was down by jmathai on Monday October 08, 2012 @02:04AM (#4625683)
Thankfully the Internet has a pretty short term memory.
Re:Twitter's mandatory link shortener, t.co, was down by Mithrandir on Monday October 08, 2012 @02:32AM (#4625740)
Seems to be back up: https://t.co/uHJO6BCr
Re:Twitter's mandatory link shortener, t.co, was down by jqueryin on Monday October 08, 2012 @11:19AM (#4627230)
Internal sources say t.co went down due to registrar error, which is highly unfortunate for Twitter as this was something out of their control.
Re:Twitter's mandatory link shortener, t.co, was down by stevewilhelm on Monday October 08, 2012 @02:57AM (#4625806)
For most Twitter's users, it is not a mission critical service.

It could be regularly down for hours at a time with little to no effect.

They'll just come back later.

Re:Twitter's mandatory link shortener, t.co, was down by avallark on Monday October 08, 2012 @02:42AM (#4625767)
Its surprising to see that thenextweb has written such a long article about t.co being down.

i guess its easy to write up stuff :))

Re:Twitter's mandatory link shortener, t.co, was down by tomflack on Monday October 08, 2012 @07:58PM (#4629264)
Related: OSX twitter integration seems broken for me? I can't tweet from Safari or other apps.
Re:Twitter's mandatory link shortener, t.co, was down by chumpZero on Monday October 08, 2012 @09:14AM (#4626676)
I dont think its controlling satellites - its twitter...everybody chill