I think everyone is familiar with those short urls which are being passed around in applications like Twitter. It’s pretty neat that there are dozens of services willing to shorten urls for us, but what about lengthening them? That’s where longurlplease.com comes in. As they say, they promote safer and productive browsing by lengthening short urls so that you don’t have to. The good folks at longurlplease provide an API documentation and demos on their site. I looked around a bit but I didn’t find a .NET/C# implementer so I put one together last night.
The included sample application merely requests that longurlplease lengthens 1+ short urls using the wrappers class which follows:
var singleUrl = LongUrlPlease.ExpandUrls("http://tinyurl.com/87lb2n"); var multipleUrls = LongUrlPlease.ExpandUrls("http://tinyurl.com/87lb2n", "http://short.ie/cww8ag");