You are here

function flickr_user_find_by_email in Flickr 5

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

Lookup an nsid for an email address

Parameters

$email: email to look for

Return value

response from the flickr method flickr.people.findByEmail (http://www.flickr.com/services/api/flickr.people.findByEmail.html)

1 call to flickr_user_find_by_email()
flickr_user_find_by_identifier in ./flickr.inc
Tries to match an 'identifier' onto a flickr nsid

File

./flickr.inc, line 424

Code

function flickr_user_find_by_email($email) {
  $response = flickr_request('flickr.people.findByEmail', array(
    'find_email' => $email,
  ));
  if ($response) {
    return $response['user'];
  }
  return FALSE;
}