• Gear
  • Shots
  • Photo Craft
  • Video
  • Wide Angle
  • Support
  • New Stuff
  • More
Support SmugMug APIs, Hacks & Tricks smugmug.albums.get Album Query

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 Nov-03-2010, 04:05 PM
#1
pbk is offline pbk OP
Beginner grinner
smugmug.albums.get Album Query
Hi the API is really really poorly documented and was wondering if any one knows how to query as an anonymous user all of my albums i figured that the call would be something like this
Code:
http://api.smugmug.com/hack/json/1.2.0/?method=smugmug.albums.get&APIKey=MYKEY&SessionID=MYSESSIONID
or is this not the right call to make?

because i get the following response

jsonXXXX({"stat":"fail","code":4,"message":"invali d user"});

Last edited by pbk; Nov-03-2010 at 04:17 PM.
Old Nov-03-2010, 11:43 PM
#2
SamirD is offline SamirD
Huntsville Car Scene.com
SamirD's Avatar
Have you logged in yet and gotten your sessionID?

This thread may also be helpful:
http://www.dgrin.com/showthread.php?t=137990
__________________
Pictures and Videos of the Huntsville Car Scene: www.huntsvillecarscene.com
Want faster uploading? Vote for FTP!
Old Nov-04-2010, 05:53 AM
#3
pbk is offline pbk OP
Beginner grinner
I am getting the session through smugmug.login.anonymously .... does the
smugmug.albums.get need to be non anonymous?

If it does then what would be the preferred way to query your publicly visible albums ?
Old Nov-04-2010, 06:54 AM
#4
SamirD is offline SamirD
Huntsville Car Scene.com
SamirD's Avatar
That should work. Do you have your API key? I'd try using rest and straight from a browser to see what results you get.
__________________
Pictures and Videos of the Huntsville Car Scene: www.huntsvillecarscene.com
Want faster uploading? Vote for FTP!
Old Nov-05-2010, 12:52 AM
#5
devbobo is offline devbobo
technicolored
devbobo's Avatar
Quote:
Originally Posted by pbk View Post
I am getting the session through smugmug.login.anonymously .... does the
smugmug.albums.get need to be non anonymous?

If it does then what would be the preferred way to query your publicly visible albums ?
if you are creating a session from smugmug.login.anonymously, no user info is tied to the session obviously...so when you call smugmug.albums.get, you need to provide the NickName parameter.
__________________
David Parry
SmugMug API Developer
My Photos
Old Nov-08-2010, 08:46 AM
#6
SamirD is offline SamirD
Huntsville Car Scene.com
SamirD's Avatar
Quote:
Originally Posted by devbobo View Post
if you are creating a session from smugmug.login.anonymously, no user info is tied to the session obviously...so when you call smugmug.albums.get, you need to provide the NickName parameter.
Would the sessionID be the same?
__________________
Pictures and Videos of the Huntsville Car Scene: www.huntsvillecarscene.com
Want faster uploading? Vote for FTP!
Tell The World!  
Similar Threads Thread Starter Forum Replies Last Post
Favorite Album Vendors and Albums Jeremy Winterberg Weddings 52 Apr-06-2011 10:38 AM
Large Album size Pro Lab InFocus_Pro Weddings 0 May-21-2010 04:07 AM
Incorrect image counts - smugmug.albums.get David PL SmugMug APIs, Hacks & Tricks 3 Mar-30-2008 06:15 PM
Backprinting @ smugmug K.Van SmugMug Support 62 Apr-05-2005 12:11 PM


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