Does this request look ok ?

devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
I have been playing around with the XML-RPC api, but I am having trouble connecting...does this request look ok ??

<METHODCALL>
<methodCall>
<methodName>loginAnonymously</methodName>
<params>
<param><string>1.0</string></param>
</params>
</methodCall>


Thanks David
David Parry
SmugMug API Developer
My Photos

Comments

  • NikolaiNikolai Registered Users Posts: 19,035 Major grins
    edited February 9, 2005
    Hard to say
    devbobo wrote:
    I have been playing around with the XML-RPC api, but I am having trouble connecting...does this request look ok ??
    Thanks David
    I could never get anonymous login to work. I tried many times and get tired. Unless Onethumb fixed it during the last four weeks I guess we're s.o.l., buddy..

    Cheers!1drink.gif
    "May the f/stop be with you!"
  • devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited February 9, 2005
    Nikolai wrote:
    I could never get anonymous login to work. I tried many times and get tired. Unless Onethumb fixed it during the last four weeks I guess we're s.o.l., buddy..

    Cheers!1drink.gif
    Hey Nik,

    Got it working....isn't it always the smallest things, was missing the trailing '/' on the URL.

    David
    David Parry
    SmugMug API Developer
    My Photos
  • NikolaiNikolai Registered Users Posts: 19,035 Major grins
    edited February 9, 2005
    Congratulations!
    devbobo wrote:
    Hey Nik,

    Got it working....isn't it always the smallest things, was missing the trailing '/' on the URL.

    David
    However, I have to correct myself.
    When I said "it does not work" I meant - "you can't do anything with that login". I apologize, should've been more accurate.
    It returns session ID and such, but any other request would fail, including logout.
    And as you would probably agree, it's not too much to have a session you cannot do anything with.. Hence my reply "could not make it work"..

    If you don't mind my asking - why r u so keen on anonymous? You still would need to know the account name (AFAIK there is no getAccounts and getAccountInfo API yet:-), and even then you'd only be able to get a public info, no private or upload stuff...

    Don't get me wrong - I was trying to get it work, too, simply to be able to cover all API in case somebody needs it. But it didn't work, Don didn't have time to fix it, so I kinda decided to let it simmer. There are more important APIs to cover which require full access anyway:-)

    Good luck - and cheers!1drink.gif
    "May the f/stop be with you!"
Sign In or Register to comment.