You are here

function flickr_people_get_info in Flickr 5

Same name and namespace in other branches
  1. 6 flickr.api.inc \flickr_people_get_info()

Parameters

$nsid The Flickr user's NSID:

Return value

array with person's info from flickr.people.getInfo (http://www.flickr.com/services/api/flickr.people.getInfo.html) or FALSE on error.

2 calls to flickr_people_get_info()
flickr_photoset_page_url in ./flickr.inc
flickr_photo_page_url in ./flickr.inc

File

./flickr.inc, line 345

Code

function flickr_people_get_info($nisd) {
  $response = flickr_request('flickr.people.getInfo', array(
    'user_id' => $nisd,
  ));
  if ($response) {
    return $response['person'];
  }
  return FALSE;
}