function flickr_tags_get_list_user_popular in Flickr 6
Same name and namespace in other branches
- 5 flickr.inc \flickr_tags_get_list_user_popular()
Parameters
$nsid: nsid of the user whose tags will be returned
$count: number of tags to return
Return value
response from the flickr method flickr.tags.getListUserPopular (http://www.flickr.com/services/api/flickr.tags.getListUserPopular.html)
1 call to flickr_tags_get_list_user_popular()
- flickr_tags_cloud in tags/
flickr_tags.module
File
- ./
flickr.api.inc, line 240
Code
function flickr_tags_get_list_user_popular($nsid, $count = NULL) {
$args = array(
'user_id' => $nsid,
);
if ($count != NULL) {
$args['count'] = $count;
}
$response = flickr_request('flickr.tags.getListUserPopular', $args);
if ($response) {
return $response['who']['tags']['tag'];
}
return FALSE;
}