GitHub - kellan/flickr.simple.php: The trivial Flickr API library I use for most of my Flickr hacking scripts. · GitHub
Skip to content

Latest commit

 

History

13 Commits

Folders and files

Repository files navigation

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);

About

The trivial Flickr API library I use for most of my Flickr hacking scripts.

Resources

Stars

15 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages