function flickr_user_find_by_email in Flickr 6
Same name and namespace in other branches
- 5 flickr.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.api.inc, line 219
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;
}