• Gear
  • Shots
  • Photo Craft
  • Video
  • Wide Angle
  • Support
  • New Stuff
  • More
Support SmugMug APIs, Hacks & Tricks smugmug.login.withHash

FAQtoid

Ever wanted to create an Avatar? Creating an Avatar!

Searching Dgrin with Google Searching with Google

Dgrin Challenges

Congratulations to the Winner of DSS #128 (Sunrise or Sunset), ShootingStar.

The next Dgrin Challenge DSS #129 (Silhouette Revisited ) is open for entries through May 27th, 2013 at 8:00pm PDT.

As always, we look forward to your participation but please do take a moment to read through the rules before posting your entry.

Past DSS Challenge Winners, DSS Challenge Rules, and other important DSS Challenge information is here.

Need some help with Accessories?

Tutorials

Ever find yourself wondering just how someone managed to create an image using different effects?

Here are three simple tutorials we hope will encourage you to try something new.

The Hot Seat

A lifelong interest in landscape photography has led Eyal Oren to make a study of his adopted hometown of Marblehead, MA. As you can see, his dedication is paying off!

Africa!

Dgrinners Harryb, Pathfinder, and others joined Andy Williams and Marc Muench on Safari in East Africa recently. Here are some awesome threads to check out!

 
Thread Tools Display Modes
Old Sep-15-2012, 05:16 PM
#1
huffman is offline huffman OP
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
Old Sep-15-2012, 06:25 PM
#2
SamirD is offline SamirD
Huntsville Car Scene.com
SamirD's Avatar
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!
Old Sep-16-2012, 06:59 PM
#3
huffman is offline huffman OP
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
Old Sep-17-2012, 07:39 PM
#4
SamirD is offline SamirD
Huntsville Car Scene.com
SamirD's Avatar
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!
Old Sep-19-2012, 10:44 AM
#5
SamirD is offline SamirD
Huntsville Car Scene.com
SamirD's Avatar
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!
Old Sep-21-2012, 09:27 PM
#6
huffman is offline huffman OP
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
Old Sep-23-2012, 10:25 AM
#7
SamirD is offline SamirD
Huntsville Car Scene.com
SamirD's Avatar
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!
Old Sep-24-2012, 04:13 AM
#8
Pharfignewton is offline Pharfignewton
Beginner grinner
OAuth in cmdline/scripting is fairly straight forward - I built a bulk coupon script using it.
Old Sep-24-2012, 08:11 AM
#9
SamirD is offline SamirD
Huntsville Car Scene.com
SamirD's Avatar
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

Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump