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

CollectionsGetTree only returning 1 collection

Topics: Developer Forum
Jul 8, 2010 at 4: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 code:


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


Thanks for your help!

Jul 8, 2010 at 9:48 AM

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

Jul 8, 2010 at 2:31 PM


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