Help - problems when site is in read-only

jfriendjfriend Registered Users Posts: 8,097 Major grins
I'm developing a slideshow that uses the Smug API to fetch an image list from the gallery. I do a login anonymously with my APIKey, get a session, then use that session to call smugmug.images.get to get a list of images in a gallery.

Everything is going fine so far except that when Smugmug goes into read-only mode, the login anonymously call fails with error 99.

That means the slideshow is dead in the water just because Smugmug has gone into read-only mode. I don't need to make any changes to anything. I just need to query a gallery for a list of images, something that should be supported even though the site is in read-only mode. For reference, the Smugmug Shizam slideshow works while in read-only mode so clearly this is possible.

Can we please have a supported and documented way of fetching a list of images in a gallery that works when the Smugmug site is in read-only mode?
--John
HomepagePopular
JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
Always include a link to your site when posting a question

Comments

  • devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited January 15, 2011
    When in read-only mode calls can be made without a SessionID, obviously only anonymous responses will be return.
    David Parry
    SmugMug API Developer
    My Photos
  • jfriendjfriend Registered Users Posts: 8,097 Major grins
    edited January 16, 2011
    devbobo wrote: »
    When in read-only mode calls can be made without a SessionID, obviously only anonymous responses will be return.
    OK, so if login anonymously fails, I should try smugmug.images.get by itself with the APIKey? Or, I should just try that first?
    --John
    HomepagePopular
    JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
    Always include a link to your site when posting a question
Sign In or Register to comment.