Login   Register  
PHP Classes
elePHPant
Icontem

File: example2.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Piotr Malinski  >  Flickr API Parser  >  example2.php  >  Download  
File: example2.php
Role: Example script
Content type: text/plain
Description: Example 2
Class: Flickr API Parser
Query information about photos stored Flickr site
Author: By
Last change:
Date: 2006-05-21 05:08
Size: 241 bytes
 

Contents

Class file image Download
<?PHP
include 'flickr.php';
$a = new flickr('API KEY');
echo 
'<a href="'.$a->createAuthLink('SECRET HERE').'">Click here to get a frob</a>';
IF(isset(
$_GET['frob']))
    {
    echo 
'<BR>Token: '.$a->getToken($_GET['frob'] ,'SECRET HERE').'';
    }
?>