smugmug.images.get -- Heavy=true issue?
Radu Grama
Registered Users Posts: 3 Beginner grinner
I have been tring:
* https://api.smugmug.com/hack/json/1.2.0/?method=smugmug.images.get&SessionID=<SESSION_ID>&AlbumID=<ALBUM_ID>&AlbumKey=<ALBUM_KEY>&Heavy=true
* https://api.smugmug.com/hack/json/1.2.0/?method=smugmug.images.get&SessionID=<SESSION_ID>&AlbumID=<ALBUM_ID>&AlbumKey=<ALBUM_KEY>&Heavy=1
Of course, the right values (retrieved via smugmug.login.anonymous and smugmug.albums.get were passed in for SESSION_ID, ALBUM_ID, and ALBUM_KEY). I get a response that corresponds to Heavy=false, what am I doing wrong?
Thanks,
Radu
* https://api.smugmug.com/hack/json/1.2.0/?method=smugmug.images.get&SessionID=<SESSION_ID>&AlbumID=<ALBUM_ID>&AlbumKey=<ALBUM_KEY>&Heavy=true
* https://api.smugmug.com/hack/json/1.2.0/?method=smugmug.images.get&SessionID=<SESSION_ID>&AlbumID=<ALBUM_ID>&AlbumKey=<ALBUM_KEY>&Heavy=1
Of course, the right values (retrieved via smugmug.login.anonymous and smugmug.albums.get were passed in for SESSION_ID, ALBUM_ID, and ALBUM_KEY). I get a response that corresponds to Heavy=false, what am I doing wrong?
Thanks,
Radu
0
Comments
Radu, so you are just getting back id/Key?
(Ref: http://wiki.smugmug.com/display/SmugMug/smugmug.images.get+1.2.0)
Do me a favor and try and login using withHash or withPassword and see if suddenly heavy results come back... I wonder if it's the Anonymous login that is doing it?
kallasoft | The "Break It Down" Blog
Hi Riyad,
That is correct, I was getting just the basic id/Key, then I did:
* login withPassword and smugmug.images.get with Heavy=true and I got basic;
* login withPassword and smugmug.images.get with Heavy=1 and I got the full/heavy results;
* login anonymously and smugmug.images.get with Heavy=1 and I got the full/heavy results;
* login anonymously and smugmug.images.get with Heavy=true and I got the full/heavy results.
It looks like suddenly I "unlocked" the functionality.
The tests above were from last night. Right now I did another login anonymously and smugmug.images.get with Heavy=true and I got the full/heavy results, so it's working fine.
Thanks, though still curious to know if it's a glitch or something...
Radu
kallasoft | The "Break It Down" Blog
Actually I would like to correct, only Heavy=1 works, but no need to use withPassword anymore.
Thanks,
Radu