PDA

View Full Version : Problems with getAlbums API Call


Aaron Christy
Feb-12-2005, 07:47 PM
I'm hoping someone can help me with the getAlbums call.

I have no problems getting a valid response back when I am logged in securely as myself (loginWithPassword). However, when I do a login anonymously call and then I pass both a valid session ID and (what I think is a) valid nickname, I get a:

<methodresponse> <fault> <value> <struct> <member> <name>faultCode</name> <value> <int>4</int> </value> </member> <member> <name>faultString</name> <value> <string>invalid user</string> </value> </member> </struct> </value>

The session ID is valid and the nickname I was using was "surfacedamage". I also tried a friend's smugmug nickname with no luck.

Is there some trick to this that I am missing?

Thanks,
Aaron
</fault> </methodresponse>

Nikolai
Feb-13-2005, 12:56 AM
As I mentioned before, anonymous login didn't work - not a single call with that session id ever succeded, including logout.

Aaron Christy
Feb-13-2005, 07:19 AM
As I mentioned before, anonymous login didn't work - not a single call with that session id ever succeded, including logout.
Well, that is quite disappointing. I hate having to pass my personal credentials every time (not from a security perspective, but more for the efficiency issues).

Nikolai
Feb-13-2005, 10:19 AM
Well, that is quite disappointing. I hate having to pass my personal credentials every time (not from a security perspective, but more for the efficiency issues).
There is loginWithHash method.. Just save the hash - and use it until it's invalid..

Aaron Christy
Feb-13-2005, 04:01 PM
I realized after messing around a bit more that I absolutely need to have the anonymous login method working correctly in order to complete my little smugmug doo-dad. It will not work correctly otherwise and loses all value.

Can you lend any assistance in tracking down the problem (see above thread)?