Safari History and Twitter bitly links

I just noticed that Safari (5.1.3) in Lion is storing bitly links from Twitter (t.co/x/x) in the History as "No Title" with the bitly url. Has it always done this? Why doesn't it show the expanded url?


I just went and checked Chrome (17.x.x) and it expands the link in history. And while I'm there it shows the time of visit too. That would be nice to see in Safari.


Is this an issue for anyone else?

MacBook Pro (15-inch Core 2 Duo), Mac OS X (10.7.3), Safari 5.1.3

Posted on Feb 14, 2012 2:00 PM

Reply
6 replies

Feb 14, 2012 2:49 PM in response to greggmorris

This is a combination of how Safari handles redirect URLs(report it as a bug from the Safari menu if desired) and how Twitter works. This can be worked around by highlighting an URL, pressing the Command and C keys, and pasting that into a new browser tab, or using the command line through the Terminal or AppleScript Editor to run a curl -si command on the short URL. For example:


curl -si http://www.apple.com

do shell script "curl -si http://www.apple.com"


(64082)

Feb 14, 2012 3:24 PM in response to Niel

Spoke, er, wrote too fast. That only works for urls that aren't shortened by a service before they're passed to Twitter. Twitter seems to handle all links as http://t.co/x/x. Links showing in the tweet stream as bitly.x.x or whatever are copied as http://t.co/x/x using Command C. Links showing as domain/x/x in the stream are copied into History properly.


This is just stupid!

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Safari History and Twitter bitly links

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.