URL Shortener with Bit.ly API:
About URL Shortening :
URL shortening is a technique on the World Wide Web where a provider makes a web page available under a very short URL in addition to the original address. For example, the page http://www.getgo.link/2015/07/script-to-anonymize-all-links-on-your.html can be shortened to http://bit.ly/1KIVBsO.
There are several reasons to use URL shortening:
1. Avoid URL garbling
Currently, web developers tend to pass descriptive attributes in the URL to represent data hierarchies, command structures, transaction paths and session information. This may result in a URL that is aesthetically unpleasant and difficult to remember. Copying a URL that is hundreds of characters long can make the URL garbled. Thus a short URL is more useful to copy from an e-mail message or forum post.
2. Use the smallest space possible
On Twitter and some instant messaging services, there is a total character limit to messages. Using a URL shortener can enable users to include a URL that would not fit. A QR Code that stores a URL can be made physically smaller (or more readable in the same size) by using a URL shortener to minimize a URL it encodes.
3. Reading aloud
To accomplish this objective any URL shortening service can be useful. However those which let the user choose the URL are more suited for this task. Some shortening services, such as 7les.com, generate URLs that are human-readable, though the resulting strings are longer than those generated by a length-optimized service
4. Manipulating visitors
URL shortening is a special kind of URL redirection, which is sometimes used in pranks, phishing, or affiliate hiding. For example tinyurl.com/ha56k0k redirects to the shock site goatse.cx in a prank. Some of these services (br.st, for example) have started filtering all shortened links through services like Google Safe Browsing.



