Short and long url using Google Shortener API with PHP

Now, we gonna to learn how to short or expand the url using Google Shortener API with php. In this tutorial based on PHP alone.  For more details about google shortener api refer this url https://developers.google.com/url-shortener/v1/getting_started.

Features:

  • You can convert long to short url
  • You can convert short to long url

For this tutorial i have use one php class to handle this.

googleurlshortener.php

 How to use this:

thanks…..

Demo and Download

 

Note:

Please don’t forget to share and subscribe to latest updates of the blog .

 

  • http://014.me url shortener google api

    Hiya very nice blog!! Man .. Beautiful .. Amazing .. I’ll bookmark your web site
    and take the feeds additionally? I am glad to search out a lot of useful information here within the put up, we want develop
    extra strategies in this regard, thank you for sharing.

    . . . . .

  • https://www.facebook.com/thelongestlashes Josef

    My spouse and I stumbled over here from a different page and thought I should check
    things out. I like what I see so i am just following you.
    Look forward to looking at your web page repeatedly.

  • http://Xn--forbrukslninfo-Tib.com/tag/raskt-forbrukslan-2/ forbrukslån bedrift

    Hey There. I found your blog using msn. This is a very well written article.
    I will make sure to bookmark it and come back to read more of your useful information. Thanks for the post.

    I will definitely return.

    Here is my homepage … forbrukslån bedrift

  • http://Bcsynergies.com/Forums/member.php?action=profile&uid=458404 Xpango hack

    That is very attention-grabbing, You are an overly professional blogger.
    I’ve joined your feed and sit up for in quest of extra of your wonderful post.
    Additionally, I’ve shared your website in my social
    networks

    my page … Xpango hack

  • gokuhs

    It’s work perfect! Thanks!