Google URL Shortener PHP Class

The day Google announced that goo.gl shorten URL serves got an API i created a PHP Class to handle the connection with the API.

Finaly my class got approved from PHPClasses.org and you can get it from the website on that link.

Main Features:

  1. Shorten or expand the urls with googl shorten url serves
  2. no need to know JSON the request send as string and get the result as php array
  3. could be easily implemented

Future work:

you can download the class form PHPClass.org: Download Here test it and give me feed back

Check the new updates on http://eslam.me/blog/google-url-shortener-php-class-updates/

approveda

Twitter button Twitter button Facebook button LinkedIn button Google+ button


12 Responses to “Google URL Shortener PHP Class”

  1. […] This post was mentioned on Twitter by Mohamed aboel fetouh, Mohamed aboel fetouh. Mohamed aboel fetouh said: RT @anaas: good work @eslam_mahmoud #egypt Google URL Shortener PHP Class http://hunikal.com/blog/?p=108 #php #google #api #class #phpcl … […]

  2. anas says:

    good work

    goo man gooo

  3. Romain says:

    thx very usefull and great job ;-)

  4. Hazem Noor says:

    جيد – سأقوم بتجربته
    بالتوفيق دائما

  5. […] i`m happy because my PHP class which i have wrote about it earlier was the first script about “goo.gl url shortener serves” on PHPClasses.org […]

  6. John says:

    I’ve got one confusion on the URL Shortener API. Google only provides the Analytics report of those URLs, on http://goo.gl, shortened from the http://goo.gl itself. However, the reports of URLs shortened using URL Shortener API are not shown in http://goo.gl. Albeit, I know we can extract analytics report using the URL Shortener API.

  7. John says:

    So, how can we manage to see the analytics report of URLs shortened using URL Shortener API in the website http://goo.gl?

  8. Ninja says:

    Great work thanks. P.S. Congratulation on Egypt’s revolution.

  9. budflick says:

    thanks man for this code. ill have to try this as a url shortener for my mini social network

  10. Eslam says:

    Thank you all, i hope it be helpful to you all

Leave a Reply


8 × five =

Subscribe: RSS | Facebook | Twitter | Google Plus