smugmug.images.getInfo does not return OriginalUrl
kny
Registered Users Posts: 33 Big grins
I want to get the original url for many of my images so I can curl a download of them.
But, smugmug.images.getInfo does not return the OriginalURL unless I allow the gallery to expose them, which is crazy as why would I expose the unwatermarked originals to the world.
I used the same user/password to upload the images via the api as I am using to try to retrieve the originalURL.
But, smugmug.images.getInfo does not return the OriginalURL unless I allow the gallery to expose them, which is crazy as why would I expose the unwatermarked originals to the world.
I used the same user/password to upload the images via the api as I am using to try to retrieve the originalURL.
0
Comments
Want faster uploading? Vote for FTP!
Can you even use the API without a session key? Yes, I log in via the API with a user/password.
I'm not sure why it isn't working for you. I just tried smugmug.images.getInfo and, when logged in as owner, it does return OriginalURL even in a gallery with largest size set to Mediums. I'm using API 1.2.2 with REST response.
Double-check that you're logged-in as owner (i.e., using OAuth, loginwithPassword, or loginwithHash) and not anonymously when you try. When logged-in anonymously, the API will properly restrict the response only to URLs that are publicly accessible.
Want faster uploading? Vote for FTP!