PHP Classes

File: examples/shorten-urls.php

Recommend this page to a friend!
  Classes of Igor Escobar  >  Bitly-PHP  >  examples/shorten-urls.php  >  Download  
File: examples/shorten-urls.php
Role: Example script
Content type: text/plain
Description: How to shorten an url with Bitly-PHP
Class: Bitly-PHP
Expand or shorten URLs using the site
Author: By
Last change: - New simple way to shorten urls
Date: 11 years ago
Size: 193 bytes


Class file image Download

$bitly = new Bitly('<your_login>','<api_key>');
// echo will output the shorten url


For more information send a message to info at phpclasses dot org.