Knowledge base/Feature Requests

PlannedDoneNot planned

Report resolved (redirected) URLs

Jordan Running
suggested this on June 29, 2010 22:22

The Embed.ly API already follows redirects, happily making it work with shortened URLs. This is great. However, I think it would add an extra degree of usefulness if the API would also report, in its response, the URL that was ultimately resolved after all redirects.

As an example, if I submitted 

http://tinyurl.com/2cxcuqq

to Embed.ly, the response from Embed.ly would include the URL that that short URL resolves to, i.e.:

http://www.flickr.com/photos/eole/3669364668/

Something like this:

{ "provider_url": "http://www.flickr.com/",
  "description": "Some photo...",
  // ...
  "resolved_url: "http://www.flickr.com/photos/eole/3669364668/"
}

I'm really loving Embed.ly and looking forward to using it in some upcoming projects. Keep up the great work!

P.S. Another useful datum that Embed.ly could offer is rev="canonical" to also report the canonical URL.

 

Comments

User photo
Sean Creeley
embed.ly

It's coming. Submit a ticket if you want access to the beta program. 

July 21, 2010 18:48