function bpn_flickr_get_photos in Bulk File Nodes 7
Get photos from a user's photostream.
1 call to bpn_flickr_get_photos()
- bpn_flickr_form_step_2 in modules/
bpn_flickr/ bpn_flickr.module - Form constructor for Step 2: Pick what images to load.
File
- modules/
bpn_flickr/ bpn_flickr.module, line 492 - Hooks and functions for the bpn_flickr module.
Code
function bpn_flickr_get_photos($user, $page = 1) {
$flickr = bpn_flickr_get_api();
$options = array(
'user_id' => $user['nsid'],
'safe_search' => NULL,
'extras' => 'url_q',
'per_page' => 9,
'page' => $page,
);
extract($options);
return $flickr
->people_getPublicPhotos($user_id, $safe_search, $extras, $per_page, $page);
}