CollectionsGetTree only returning 1 collection

Topics: Developer Forum
Jul 8, 2010 at 3:20 AM

I'm attempting to get a list of all collections in my account, but GetTree is only returning the first collection.  If I re-order the collections, I always get the first one in the list.  I'm using the 3.0 version of FlickrNet.dll.  Here's my vb.net code:

 

        Dim cols As CollectionCollection = f.CollectionsGetTree()
        For Each col As Collection In cols            
             Response.Write("<BR>" & col.CollectionId & " - " & col.Title)        
        Next

 

Thanks for your help!

Coordinator
Jul 8, 2010 at 8:48 AM
Hi

Thank you for reporting this. It is a bug in the code which I have now
fixed and checked in to the source code.

Sam
Jul 8, 2010 at 1:31 PM

Sam,

Works like a charm.  Thanks for such a quick turnaround!

Rick