PDA

View Full Version : Giving it a try


3rdPlanetPhotography
Apr-25-2005, 05:29 PM
Ok I'm trying to use the smugmug.login.withPassword method.

Not sure what I'm missing but this is the return I get.

Oh nevermind... I cannot paste the XML string here. Won't show it.


Any Ideas?
kc7dji

dsdee
Apr-25-2005, 06:39 PM
Ok I'm trying to use the smugmug.login.withPassword method.

Not sure what I'm missing but this is the return I get.

Oh nevermind... I cannot paste the XML string here. Won't show it.


Any Ideas?
kc7dji what are you getting a fault ? a message? Can you dump the XML without the angle-brackets? Do you have an API Key ? Are you using your email and password, or are (mistakenly) trying your nickname and password?? What language are you trying this in ?? Which interface, REST or XML::RPC ?

--David

Nikolai
Apr-25-2005, 07:38 PM
Ok I'm trying to use the smugmug.login.withPassword method.
Not sure what I'm missing but this is the return I get.
Oh nevermind... I cannot paste the XML string here. Won't show it.
Any Ideas?
kc7djiYou can show your XML in at least two ways:
1) add spaces after < and before >, e.g. < tag >
2) paste the whole thing as PHP (in this case you can't preview/edit it)

Without seeing your XML it's pretty hard to guess what exactly are you doing wrong..:dunno

HTH

3rdPlanetPhotography
Apr-25-2005, 07:40 PM
what are you getting a fault ? a message? Can you dump the XML without the angle-brackets? Do you have an API Key ? Are you using your email and password, or are (mistakenly) trying your nickname and password?? What language are you trying this in ?? Which interface, REST or XML::RPC ?

--David
David,

I finally got it. First, it was my overlook. I was sending Key instead of APIKey. Second the parameters were case sensitive ie... EmailAddress, Version, Password.

It's working now. I'm writing this in C# as one of my coming up to speed projects in C#.

Now if I can get up to speed in C# I can probably fly through this program.

kc7dji

3rdPlanetPhotography
Apr-25-2005, 07:41 PM
You can show your XML in at least two ways:
1) add spaces after < and before >, e.g. < tag >
2) paste the whole thing as PHP (in this case you can't preview/edit it)

Without seeing your XML it's pretty hard to guess what exactly are you doing wrong..:dunno

HTH
Sorry Nikolai I think we posted about the same time. I replied to David above.

dsdee
Apr-25-2005, 07:43 PM
David,

I finally got it. First, it was my overlook. I was sending Key instead of APIKey. Second the parameters were case sensitive ie... EmailAddress, Version, Password.

It's working now. I'm writing this in C# as one of my coming up to speed projects in C#.

Now if I can get up to speed in C# I can probably fly through this program.

kc7dji
Very cool, KC7; glad it's working.

--d2

Nikolai
Apr-25-2005, 07:44 PM
Sorry Nikolai I think we posted about the same time. I replied to David above.Good luck with the rest of it.. :thumb
Cheers!:1drink