Tell me more ×
SmugMug Stack Exchange is a question and answer site for SmugMug developers and end users. It's 100% free, no registration required.

When making API requests depending on what the user has setup or how you make the request you can get different results back for the URL to fetch photos from:

Which is they right one and why, does it matter?

share|improve this question
Might as well add http://cdn.smugmug.com/... and http://api.smugmug.com/... to the list too. – jfriend00 Feb 5 '12 at 5:01

1 Answer

up vote 5 down vote accepted

The right approach is to use whichever domain the API responds with, since it will choose the appropriate one given all the security & privacy settings in play.

Trying to second-guess the API response is probably an exercise in frustration.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.