PHP Classes
elePHPant
Icontem

Bitly-PHP: Expand or shorten URLs using the bit.ly site

Recommend this page to a friend!
  Info   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2010-04-02 (6 years ago) RSS 2.0 feedNot enough user ratingsTotal: 435 All time: 5,953 This week: 1,152Up
Version License PHP version Categories
bitly-php 1.0MIT/X Consortium ...5.3PHP 5, Web services
Description Author

This class can be used to expand or shorten URLs using the bit.ly site.

It can send HTTP requests to the bit.ly site to create a new short URL that redirects to a given longer URL.

The class can also do the opposite, i.e. send a request to retrieve the original URL that is redirected when accessing a given bit.ly short URL.

Picture of Igor Escobar
Name: Igor Escobar <contact>
Classes: 1 package by
Country: Brazil Brazil
Age: 28
All time rank: 3223245 in Brazil Brazil
Week rank: 1499 Up124 in Brazil Brazil Up

  Files folder image Files  
File Role Description
Files folder imageexamples (4 files)
Accessible without login Plain text file license.txt Lic. License file of the Bitly-PHP
Plain text file bitly.php Class The main class of the Bitly-PHP

  Files folder image Files  /  examples  
File Role Description
  Accessible without login Plain text file expand-urls.php Example How expand a shorten urls with Bitly-PHP
  Accessible without login Plain text file get-info-urls.php Example How to get more datailed information about the shorted link
  Accessible without login Plain text file shorten-urls.php Example How to shorten an url with Bitly-PHP
  Accessible without login Plain text file statistics-url.php Example How to get a detailed statistics about a shorted link

 Version Control Unique User Downloads Download Rankings  
 0%
Total:435
This week:0
All time:5,953
This week:1,152Up
User Comments (1)
Show! ;)
6 years ago (Mateus)
70%StarStarStarStar