twitter rss feed links comes short (like http://t.co/rwkYrSPD)
I want to get the direct link with using yahoo pipes
How to do it?
twitter rss feed links comes short (like http://t.co/rwkYrSPD)
I want to get the direct link with using yahoo pipes
How to do it?
Well, obviously you can simply go to the page. for example, http://t.co/rwkYrSPD becomes http://trailers.apple.com/trailers/focus_features/paranorman/
Does Yahoo Pipes have the ability to execute a HEAD
request against a URL? If you run a HEAD
against that url (curl -I 'http://t.co/rwkYrSPD')
you'll get back an HTTP/1.1 301 Moved Permanently
response with the actual URL as the Location
header.
HEAD
until you stop getting 301 redirects.
Jun 29, 2012 at 21:49
I realise it's quite a bit later, now, but check out the source of this Pipe, which uses the LongURL API (e.g., http://api.longurl.org/v2/expand?url=http://t.co/rwkYrSPD) together with YQL.