Q: basic REST user auth
skim1420
Registered Users Posts: 33 Big grins
Hi, I'm working on a basic iOS Smugmug browser app, using the REST APIs.
My question is how do I make a call authenticated as a user?
I've been able to do basic REST calls like this:
and get a listing of their public Galleries.
Now how do I do this logged in as that user, listing all their Galleries?
Using my Smugmug account as a test account, I've tried specifying my password in the REST call, like this:
but it still returns only my public Galleries, and not all of my Galleries.
Thanks for the help!
My question is how do I make a call authenticated as a user?
I've been able to do basic REST calls like this:
https://api.smugmug.com/services/api/rest/1.3.0/?method=smugmug.albums.get&APIKey=<my_api_key>&NickName=<some_user_nickname>
and get a listing of their public Galleries.
Now how do I do this logged in as that user, listing all their Galleries?
Using my Smugmug account as a test account, I've tried specifying my password in the REST call, like this:
https://api.smugmug.com/services/api/rest/1.3.0/?method=smugmug.albums.get&APIKey=<my_api_key>&NickName=<my_smugmug_nickname>&SitePassword=<my_smugmug_password>
but it still returns only my public Galleries, and not all of my Galleries.
Thanks for the help!
iSmug, the best SmugMug viewer for your iPhone and iPad!
http://www.vanesoftware.com/ismug
uSmug, for grandma!
http://www.vanesoftware.com/usmug
http://www.vanesoftware.com/ismug
uSmug, for grandma!
http://www.vanesoftware.com/usmug
0
Comments
Best of luck!
Cheers,
David
SmugMug API Developer
My Photos
http://www.vanesoftware.com/ismug
uSmug, for grandma!
http://www.vanesoftware.com/usmug
SmugMug API Developer
My Photos
http://www.vanesoftware.com/ismug
uSmug, for grandma!
http://www.vanesoftware.com/usmug