Tag Archives: bit.ly
Shortening a URL using bitly’s API in C#
Using the snippet below you can convert links in your application from this
1 | http://www.fluxbytes.com/ |
to this
1 | http://bit.ly/WVk1qN |
This is especially important in cases where you have a fairly long URL which you want to post somewhere and you either don’t want to use such a long URL, or simply you are limited by characters. An example of that situation would be a URL such as
1 | http://www.google.com/url?sa=t&rct=j&q=c+sharp+convert+string+to+binary&source=web&cd=1&cad=rja&ved=0CDQQFjAA&url=http%3A%2F%2Fwww.fluxbytes.com%2Fcsharp%2Fconvert-string-to-binary-and-binary-to-string-in-c%2F&ei=T79SUcOVI4rEPOeogPgP&usg=AFQjCNEihqo_KsRZuGpb0-ZpWdqjdqr_sA |
which can be shortened down to
1 | http://bit.ly/WVuXF4 |
The first thing you are going to need it an account from bitly.com. After you have created an account, log in and navigate to https://bitly.com/a/your_api_key. The page will contain your username and your API key which are both needed.
LinkBypasser++ released!
If you are one of those people that dislike clicking on redirect links which you don’t know were they will actually take you then I have the solution for you.
I’ve created LinkBypasser++ for the sole reason of finding out where the links redirect to before clicking them since it’s common practice to use those links to redirect people to malicious websites without them being suspicious of it.
The program currently supports the following domains:
- adf.ly
- tiny.cc
- goo.gl
- bit.ly
- owl.li
- ow.ly
- fb.me
- up.ht
- reut.rs
- lnk.co
- t.co
I will gladly add more on request, assuming it is possible to bypass that particular domain.
One of the main features of the program is that it’s possible to make it auto detect such redirection links upon copying the link from somewhere and placing in it’s place the direct link instead without needing to interact with the program at all, or to just do that manually yourself, it’s your choice.
Download FilePosted in Software Releases.
Tagged adf.ly, bit.ly, bypass links, C#, csharp, fb.me, fluxbytes, fluxbytes software, goo.gl, link redirect, lnk.co, ow.ly, owl.li, reut.rs, t.co, tiny.cc, up.ht