I’m playing a bit with Javascript these days… I was shrinking some URLs using bit.ly to tweet them, then I started to think on a automated process that could use their API to shrink the URLs I wanted, then I looked up on their documentation, and I saw that they only support PHP(with some Javascript), but there is anyway that I could make this using only Javascript?
Share
Here is an example how to get a shortened URL with Bitly API and jQuery, no server side code required.
The following code could be used to get a short URL: