You are here

function flickr_people_getinfo in Flickr 7

Get information about a user.

Parameters

string $nsid: The Flickr user's NSID.

Return value

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

8 calls to flickr_people_getinfo()
flickr_admin_settings in ./flickr.admin.inc
Implements hook_settings().
flickr_admin_settings_submit in ./flickr.admin.inc
Submit form data.
flickr_block_configure in block/flickr_block.module
Implements hook_block_configure().
flickr_block_save in block/flickr_block.module
Implements hook_block_save().
flickr_filter_tips in filter/flickr_filter.module
Returns the filter information for the filter help page.

... See full list

File

./flickr.api.inc, line 236
Flickr API functions.

Code

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