Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (9 sloc) 360 Bytes
<?php
require 'include/init.php';
$flickr = new Flickr($GLOBALS['cfg']['flickr_key'], $GLOBALS['cfg']['flickr_secret']);
$result = $flickr->call_method('flickr.auth.getToken', array(
'frob' => $_GET['frob'],
), true);
$_SESSION['flickr_token'] = $result;
header('Location: index.php');
exit;
Something went wrong with that request. Please try again.