Login   Register  
PHP Classes
elePHPant
Icontem

File: examples/get-info-urls.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Igor Escobar  >  Bitly-PHP  >  examples/get-info-urls.php  >  Download  
File: examples/get-info-urls.php
Role: Example script
Content type: text/plain
Description: How to get more datailed information about the shorted link
Class: Bitly-PHP
Expand or shorten URLs using the bit.ly site
Author: By
Last change: - New simple way to get a datailed information about the shorten link
Date: 4 years ago
Size: 189 bytes
 

Contents

Class file image Download
<?php
    
    
include_once("../bitly.php");
    
    
$bitly         = new Bitly('<your_login>','<api_key>');
    
$bitly->info('http://bit.ly/b6R4Uf');
    
    echo 
$bitly->getData()->thumbnail->medium;

?>