<?PHPinclude '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').''; }?>