Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 459 Bytes

README.md

File metadata and controls

22 lines (13 loc) · 459 Bytes

Attempts to be the simplest PHP Flickr API client possible.

Usage

include 'flickr.simple.php';

$key = '-your-key-here-';
$secret = '-your-secret-here-';

$flickr = new Flickr($key, $secret);

# request a token with write level permission

$token = $flickr->auth_shell('write');

$method = 'flickr.photos.search';
$args = array('auth_token' => $token, 
	'user_id' => '-your-user-id');

$rsp = $flickr->method($method, $args);

var_dump($rsp);