Login   Register  
PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (4 years ago) RSS 2.0 feedNot enough user ratingsTotal: 429 All time: 5,729 This week: 1,397Up
Version License PHP version Categories  
bitly-php 1.0MIT/X Consortium License5.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: 26
All time rank: 3106239 in Brazil Brazil
Week rank: 1721 Up144 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:429All time:5,729
 This week:0This week:1,397Up
 User Comments (1)  
 
Show! ;)
4 years ago (Mateus)
70%StarStarStarStar