function flickr_people_findbyemail in Flickr 7
Return a user's NSID, given their email address.
Parameters
string $email: Email to look for.
Return value
array Response from the flickr method flickr.people.findByEmail. (https://www.flickr.com/services/api/flickr.people.findByEmail.html)
1 call to flickr_people_findbyemail()
- flickr_user_find_by_identifier in ./
flickr.inc - Tries to match an 'identifier' onto a flickr nsid.
File
- ./
flickr.api.inc, line 303 - Flickr API functions.
Code
function flickr_people_findbyemail($email) {
$response = flickr_request('flickr.people.findByEmail', array(
'find_email' => $email,
));
if ($response) {
return $response['user'];
}
return FALSE;
}