Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 15 lines (9 sloc) 0.36 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
<?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.