URL Shortener Service using PHP and Google API

Hi! In today's post we will see about creating URL Shortener service using PHP and Google API . Google provides tons of APIs for users to easily complete several complicated tasks. And Google url shortener service (goo.gl) is one among them. In the past I have discussed about some other APIs like youtube api and google finance api . Now I'm going to show you about using google url shortener api service and generate shorten url using php. Google URL Shortener API: The Google URL Shortener is a service that takes long URLs and makes them short with fewer characters to make the link easier to share on social networks or by email. With Google's URL Shortening API, you can create these short urls programmatically by sending the long url through the http request. Please note that the API has a daily limit of 1,000,000 requests for free - more than that goes to your billing. In order to use google url shortener api, you must first get the api key and have to tag it wit...