PHP Classes

File: example2.php

Recommend this page to a friend!
  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: 18 years ago
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').'';
    }
?>