CodeIgniter 2.0 Google URL Shortener API Library |
[eluser]appleboy[/eluser]
Github: https://github.com/appleboy/CodeIgniter-...rtener-API CodeIgniter Google URL Shortener API Library Welcome to the home of the Google URL Shortener API Library, a project that will help you to shorten, expand, analytics long URL. What is the Google URL Shortener API? The Google URL Shortener at goo.gl is a service that takes long URLs and squeezes them into fewer characters to make a link that is easier to share, tweet, or email to friends. The Google URL Shortener API allows you to develop applications that interface with this service. You can use simple HTTP methods to create, inspect, and manage goo.gl short URLs from your desktop, mobile, or web application. ref : http://code.google.com/intl/zh-TW/apis/urlshortener/ Spark Install Please referrer from http://getsparks.org/packages/google-url.../HEAD/show INSTALLATION Download all file from github. Code: $ git clone git://github.com/appleboy/CodeIgniter-Google-URL-Shortener-API.git Move the files to their corresponding places within your codeigniter application directory. Code: $ copy config/google_url_api.php your_application/config/ Open config/google_url_api.php file, and configure your shorten api key Code: $config['google_api_key'] = "xxxxx"; If you're having problems, then enable debugging in your controller code: Code: $this->google_url_api->enable_debug(TRUE); COPYRIGHT AND LICENCE Copyright © 2011 Bo-Yi Wu My Blog: http://blog.wu-boy.com/2011/02/17/2542 |
Messages In This Thread |
CodeIgniter 2.0 Google URL Shortener API Library - by El Forum - 02-17-2011, 07:13 AM
CodeIgniter 2.0 Google URL Shortener API Library - by El Forum - 05-14-2011, 03:56 PM
CodeIgniter 2.0 Google URL Shortener API Library - by El Forum - 05-15-2011, 12:57 AM
CodeIgniter 2.0 Google URL Shortener API Library - by El Forum - 05-15-2011, 03:18 PM
CodeIgniter 2.0 Google URL Shortener API Library - by El Forum - 05-15-2011, 08:39 PM
CodeIgniter 2.0 Google URL Shortener API Library - by El Forum - 05-15-2011, 08:41 PM
CodeIgniter 2.0 Google URL Shortener API Library - by El Forum - 05-15-2011, 09:12 PM
|