You are here

function flickr_people_get_info in Flickr 6

Same name and namespace in other branches
  1. 5 flickr.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.

5 calls to flickr_people_get_info()
flickr_admin_settings in ./flickr.admin.inc
Implements hook_settings().
flickr_admin_settings_submit in ./flickr.admin.inc
flickr_block in block/flickr_block.module
Implements hook_block().
flickr_photoset_page_url in ./flickr.inc
flickr_photo_page_url in ./flickr.inc

File

./flickr.api.inc, line 177

Code

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