topical media & game development
mashup-delicious-11-autobookmarkers-flickr.php / php
<?php
//bring in Snoopy.class.php (from Magpie’s extlib dir)
require_once('lib/extlib/Snoopy.class.inc');
api_sig for flickr.favorites.getList
snoopy->fetch("http://www.flickr.com/services/rest/?method=flickr.favorites.getList&api_key=".API_KEY."&auth_token=".FULL_TOKEN."&api_sig=".snoopy->results);
//take what we now need from
//unset it later
photos = photos as url =
sprintf("http://www.flickr.com/photos/%s/%s",photo['attributes']['ID']);
photo['attributes']['TITLE'];
url));
if (!isset(url)."&description="
.urlencode(tags));
if (description."\n";
else
echo "There was a problem posting ".url." already posted - skipping\n";
}
}
?>
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.