News for hackers. Stuff that matters.
Re:Twitter Switches From TinyURL To Bit.ly by callahad on Wednesday May 06, 2009 @02:28PM (#596415)
The thing is, none of this is necessary. HTML has a built in URL shortener:

  <a href="http://example.com/long">Short</a>
There you go.

Twitter is already parsing URLs out of tweets in order to feed them through bit.ly. At that point, the length of the URL isn't relevant -- it's been turned into a single token and pulled from the tweet.

Why don't we just stop there instead of first stopping off at the shortener before writing our HTML?

Re:Twitter Switches From TinyURL To Bit.ly by lsb on Wednesday May 06, 2009 @02:34PM (#596425)
That doesn't work as a text message.
Re:Twitter Switches From TinyURL To Bit.ly by bobbyi on Wednesday May 06, 2009 @02:52PM (#596467)
If you are in a situation where you can only receive messages via text, then you aren't able to visit web pages.

So they could replace the urls with "[url]" or somesuch when sending them via SMS.

Re:Twitter Switches From TinyURL To Bit.ly by ks on Wednesday May 06, 2009 @04:59PM (#596708)
Mobile phones can do both. Not all phones are connected to the internet all the time, so it would make sense to receive twitter messages using SMS, and then connect to the net.
Re:Twitter Switches From TinyURL To Bit.ly by furyg3 on Wednesday May 06, 2009 @04:17PM (#596634)
Well, for most everybody it does, actually (sending back-to-back SMSes). Maybe some providers/phones don't implement these things properly, but these are specific situations which should be handled in a different way.

I like Twitter's character limit for shaping the communication, but URLs shouldn't be included in the character count. Ideally, the receiver should send their short message with an HTML link, and Twitter should figure out what to do with that based on the receiver's capabilities and preferences.

That may include sending the full HTML, a bit.ly version, dropping it altogether, or breaking it up into multiple SMSes. If you're using SMS with Twitter, then they have your cell phone number and (thus) know your provider, so this isn't a monumental task.

This all makes me wonder: if you have an SMS enabled phone which is capable of following URLs in a browser, can't Twitter just SMS you a link to the full tweet (HTML links and all)? If not, just fucking drop the URLs since they're useless anyway.

Re:Twitter Switches From TinyURL To Bit.ly by tlrobinson on Wednesday May 06, 2009 @02:49PM (#596459)
Do people actually use SMS with Twitter any more?