Skip to content
Simple Kohana3 module for shortening API
Find file
Pull request Compare This branch is even with dleavitt:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Kohana module wrapping's shorten method.


$short_url = Bitly::instance()->shorten($long_url);

If there is an error, (rate limit exceeded, etc.) the original (long) URL is returned and the error is logged.

Something went wrong with that request. Please try again.