zigdon / twirssi

An irssi script allowing the use of Twitter from within the IRC client.
http://twirssi.com
133 stars 26 forks source link

URL lengthening #37

Closed jmdh closed 12 years ago

jmdh commented 12 years ago

The default URL shortening that twitter now seems to do is really getting on my nerves. It would be wonderful if twirssi could lengthen these for me before displaying them. It looks like this is possible from the WWW::Shorten API, although it also looks like a module for t.co would have to be written, and that it'd have to get the link target by pretending to visit the URL. Ugh.

zigdon commented 12 years ago

Note that it's against Twitter's TOS to make the long URLs clickable, instead of the t.co URLs. One thing I'd consider doing is having a partial expansion - so that twirssi would show: "http://t.co/WIAjHje " or something like that.

gedge commented 12 years ago

I'm currently testing this feature in https://github.com/gedge/twirssi/tree/all_mods

gedge commented 12 years ago

now uploaded to this repo/beta, closing