API Flickr: How to get only photos that don't have albums?

174 Views Asked by At

I need to show all the photos for importation into my web application.

First I get albums with:

$albums = $flickr->photosets_getList($userId);

Then when selected any album, I get the photos with:

$photos = $flickr->photosets_getPhotos($albumId);

But how to get only photos that don't have albums?

Any suggestion? Thanks.

1

There are 1 best solutions below

0
alditis On BEST ANSWER

I solved with this method:

$photos = $flickr->photos_getNotInSet();

Documented in:

flickr.photos.getNotInSet