This project has moved and is read-only. For the latest updates, please go here.

How to Get Photos from Photoset with 2.1.5 ?

Topics: Developer Forum, User Forum
Sep 22, 2007 at 4:08 AM

i've used an script based on flickrnet.dll 2.1.2 - everything worked fine with my photosets.

I used the following code to get the photos from a photoset:

Dim allPhotos As PhotoCollection
allPhotos = f.PhotosetsGetPhotos(PhotosetID)
For Each p As Photo In allPhotos

After i changed my dll to 2.1.5 i get an error like:

"allPhotos = f.PhotosetsGetPhotos(PhotosetID)"
"... cannot convert FlickrNet.Photoset inFlickrNet.PhotoCollection ..."

... translated from german ...

I've tried everything - but it doesn't work at all -

How can i get the photos from a photoset in an easy way in VB.NET ?


Sep 24, 2007 at 8:41 PM

Change the cod to the following should work:

allPhotos = f.PhotosetsGetPhotos(PhotosetID).PhotoCollection

Sorry about the change, but they added the paging stuff to photosets a while back and I needed to change the class returned by that method to handle it.