|
|
Thread Tools | Display Modes |
|
#1
|
|
|
Big grins
|
smugmug.login.withHash
I've used the method "smugmug.login.withHash" for some time on API 1.2.2. It worked a week or two ago. Suddenly now it starts returning Code 1, "Invalid Login"
I can't find any changes which would cause that. Any help would be appreciated. Thanks, Bill |
|
|
|
|
#2
|
|
|
Huntsville Car Scene.com
|
I'm running into the exact same issue. I've been running this code for years. Please advise.
__________________
Pictures and Videos of the Huntsville Car Scene: www.huntsvillecarscene.com Want faster uploading? Vote for FTP! |
|
|
|
|
#3
|
|
|
Big grins
|
Problem Solved
I solved this by doing a smugmug.login.withPassword again, and looking at the Password Hash that is returned. It's much different than it used to be. For starters it's 64 characters. I assume a new hash algorithm is now in use.
My remaining question would be how I should have found out that my Password Hash had changed. Bill Last edited by huffman; Sep-16-2012 at 07:00 PM. Reason: Spelling Correction |
|
|
|
|
#4
|
|
|
Huntsville Car Scene.com
|
Thank you for figuring this out. I was wondering what the fix was.
__________________
Pictures and Videos of the Huntsville Car Scene: www.huntsvillecarscene.com Want faster uploading? Vote for FTP! |
|
|
|
|
#5
|
|
|
Huntsville Car Scene.com
|
I want to thank you again for figuring this out. Once I re-learned how to use the API and got a new hash, my script is working fine again.
__________________
Pictures and Videos of the Huntsville Car Scene: www.huntsvillecarscene.com Want faster uploading? Vote for FTP! |
|
|
|
|
#6
|
|
|
Big grins
|
We must be the only two smugmuggers using only the passwordhash mechanism. That could mean we're one of relatively few writing scripts for our own use only. Without the desire to write a script only for myself, I don't think I'd have run into this problem.
Interesting that no Heros have had a word yet. Bill |
|
|
|
|
#7
|
|
|
Huntsville Car Scene.com
|
I think we're the only two using the old API version. Maybe it was only changed on the 1.2 codebranch because that's where an issue was found.
__________________
Pictures and Videos of the Huntsville Car Scene: www.huntsvillecarscene.com Want faster uploading? Vote for FTP! |
|
|
|
|
#8
|
|
|
Beginner grinner
|
OAuth in cmdline/scripting is fairly straight forward - I built a bulk coupon script using it.
|
|
|
|
|
#9
|
|
|
Huntsville Car Scene.com
|
I found oauth to be too much for something as simple as what I was doing.
__________________
Pictures and Videos of the Huntsville Car Scene: www.huntsvillecarscene.com Want faster uploading? Vote for FTP! |
|
|
|
| Tell The World! | |
| Tags | |
| api , login , withhash | |
| Thread Tools | |
| Display Modes | |
|
|