Using the flickr.photos.search API method with your user_id not working?
For PHP, you have a PEAR-based package here and another library at http://phpflickr.com/ . Should be enough to get through it.
EDIT:
For a minimal implementation, you should use stream_context_create () with HTTP headers, use fopen() with this context, and manually create the XMLRPC request as a text variable that you will send. The response from the socket will be your data.
For API use flickr.photosets.getList
CODE EXAMPLE (you need a valid api key for flickr)
<?php $apiKey = ''; $userID = ''; $url = 'http://api.flickr.com/services/rest/?method=flickr.photosets.getList&api_key=' .$apiKey.'&user_id='.$userID.'&format=json'; $options = Array('http' => Array('method' => 'GET')); $context = stream_context_create($options); $response = file_get_contents($url, false, $context); $object = json_decode($response);
source share