Options

How do download private images?

haikubrianhaikubrian Registered Users Posts: 1 Beginner grinner
What's the best way to get access to private images from an app using the Smugmug API? When I use smugmug.images.get, it returns the OriginalURL for the image. But, when I try to download the image using that URL, I get a 404. The URL works in a browser only if I'm logged in. Is there a way to use the session ID from the API to download the image?

Comments

  • Options
    tullmanntullmann Registered Users Posts: 11 Big grins
    edited August 25, 2013
    I ran into the same problem and found your unanswered question before stumbling on the answer. In case someone else gets here first, the answer (from http://dgrin.com/showthread.php?t=127209) is to set the login sessionID as a cookie ("SMSESS") on the image download request.
Sign In or Register to comment.