PDA

View Full Version : getImages Returns Invalid User


cmccrack
Dec-19-2004, 08:47 AM
I'm writing a bit of code with the XML-RPC interface and have come across a problem using getImages(). I am logging in and getting a list of albums owned by me, which works just fine. However, when I try to pass my session id and one of my album ids to getImages it returns an invalid user fault. Anyone else used getImages successfully?

Nikolai
Dec-19-2004, 09:23 AM
I'm writing a bit of code with the XML-RPC interface and have come across a problem using getImages(). I am logging in and getting a list of albums owned by me, which works just fine. However, when I try to pass my session id and one of my album ids to getImages it returns an invalid user fault. Anyone else used getImages successfully?Once I do, I will post confirmed results to my list of verified APIs (http://www.dgrin.com/showthread.php?postid=39676#post39676).:deal
Good luck! Let us know how it goes..
Cheers!:1drink

cmccrack
Dec-20-2004, 05:08 AM
Don, is there anything else I should be doing to get the list of images in an album?

loginWithPassword()
getAlbums()
using the AlbumID member of the returned struct:
getImages()

If there isn't then this method is broken for me.

cmccrack
Dec-20-2004, 07:38 AM
Incidently, getAlbums() also fails for me if I use loginAnonymously(). Nikolai, I saw your earlier note about not being able to do anything once logged in anonymously, but I just wanted to verify that it was still broken.

Nikolai
Dec-20-2004, 10:38 AM
Incidently, getAlbums() also fails for me if I use loginAnonymously(). Nikolai, I saw your earlier note about not being able to do anything once logged in anonymously, but I just wanted to verify that it was still broken.
Yeah, that was basically it. You can login, get session id, but cannot do anything else, not even logout:-).
Not that I need it, but it would be nice to have it working. Otherwise I'm afraid I'd have to hide it from my app to avoid users blaming me:-)

Cheers!:1drink