actually, after a little bit of investigating, I found out that I only have issues with private albums.
i.e KPICASA_GALLERY(publicAlbum1, publicAlbum2)
works fine
but KPICASA_GALLERY(limitedAlbum1#key1, limitedAlbum2#key2)
shows a blank page.
But looking at the code, I think I understand that it is not possible to do that. Maybe it would be useful to return an error in that case?