gettree&Heavy=1... external attribute?
ebswift
Registered Users Posts: 94 Big grins
Hi, the gettree?heavy=1 call needs the attribute stating whether the image can be externally linked. Currently you can filter results to an external web page via public/passworded, but your page displays everything else, including albums which are not external which results in lots of broken images everywhere.
It needs to happen at gettree - putting it anywhere else would create the need to patch album data together from multiple calls.
My app is a facebook application which means you have seven seconds before facebook will time you out. As it is, seven seconds is not quite enough time to assemble all the information together because you need to make multiple REST calls and latency is a killer. On that note are there any pointers for speeding up calls to SmugMug?
It needs to happen at gettree - putting it anywhere else would create the need to patch album data together from multiple calls.
My app is a facebook application which means you have seven seconds before facebook will time you out. As it is, seven seconds is not quite enough time to assemble all the information together because you need to make multiple REST calls and latency is a killer. On that note are there any pointers for speeding up calls to SmugMug?
Try Smugfoto in Facebook for displaying your SmugMug galleries.
0
Comments
api.smugmug.com/services/api/rest/1.2.2/?method=smugmug.users.getTree&Extras=Passworded,External,Public
The combination of the Passworded and External parameters will determine if Facebook is able to load the images.
API 1.2.2 also has a number of speed optimisations over other api versions.
In regard to general speed improvement, I'd really need to see all the method calls you are making.
Cheers,
David
SmugMug API Developer
My Photos
http://api.smugmug.com/services/api/rest/1.2.2/?APIKey=mykey&SessionID=currentsession&method=smugmug.users.getTree&NickName=dgrin&Extras=External
Is it a bug that External is missing, or am I mis-naming the attribute? Thankyou.
Try Smugfoto in Facebook for displaying your SmugMug galleries.
The actual solution to display hierarchical galleries goes far beyond the REST calls, information must be cached then re-retrieved using logic to make it efficient for drilling down.
I'm keen on getting the 'External' attribute, I'm starting to get a number of complaints and uninstalls now. It's the final piece of the puzzle.
Try Smugfoto in Facebook for displaying your SmugMug galleries.
Does that make sense ?
SmugMug API Developer
My Photos
Can we have External as a public attribute?
Try Smugfoto in Facebook for displaying your SmugMug galleries.
Try Smugfoto in Facebook for displaying your SmugMug galleries.
i'm trying
SmugMug API Developer
My Photos
Try Smugfoto in Facebook for displaying your SmugMug galleries.
Try Smugfoto in Facebook for displaying your SmugMug galleries.
Try Smugfoto in Facebook for displaying your SmugMug galleries.
Try Smugfoto in Facebook for displaying your SmugMug galleries.
It should be HighlightID, as per the smugmug.album.create/changeSettings
SmugMug API Developer
My Photos
Try Smugfoto in Facebook for displaying your SmugMug galleries.
External should be available now
SmugMug API Developer
My Photos
Thankyou so much . Give me about 10 minutes and SmugFoto should start to look much nicer.
Try Smugfoto in Facebook for displaying your SmugMug galleries.
Try Smugfoto in Facebook for displaying your SmugMug galleries.