Search code examples
c#.netshort-url

Implement short URLs (tinyurls) for Twitter in C#?


How do you convert full (long) URLs into short URLs (like tinyurls) in C# for Twitter? I imagine this is probably very simple with the right API. Does anyone know of a good API for doing this?


Solution

  • I just published an article about doing this from bit.ly in a C# application.

    Note that bit.ly requires a free login key that you will need in order for the code to work.