OAuth - Displaying images with external links set to off.
Justin B
Registered Users, Retired Mod Posts: 488
The setup of OAuth went smoothly and I'm having a great time with the api. What I can't figure out how to do is display images in our app that have external links set to off. I've tried appending a query string with the OAuth variables to the url because I read some threads that mentioned passing the Session ID with the other apis, but no luck.
Is there no way around the external links option using the api?
Thanks
Justin
Is there no way around the external links option using the api?
Thanks
Justin
Justin
FastLine Media • SmugMug Customization • Website Design • Logo Design • WordPress Page Builder • Twitter
FastLine Media • SmugMug Customization • Website Design • Logo Design • WordPress Page Builder • Twitter
0
Comments
Bump?
FastLine Media • SmugMug Customization • Website Design • Logo Design • WordPress Page Builder • Twitter
yes, unfortunately that won't work at the moment.
At present, OAuth is only honoured at the api-level...it's on my list to add deeper integration on album and image urls etc.
Cheers,
David
SmugMug API Developer
My Photos
Justin
FastLine Media • SmugMug Customization • Website Design • Logo Design • WordPress Page Builder • Twitter
FastLine Media • SmugMug Customization • Website Design • Logo Design • WordPress Page Builder • Twitter
Hey Justin,
yes, you should be able to send the Authorization header (as outlined by the OAuth spec) with the request to access images in a passworded gallery or with external links disabled.
Let me know how you get on.
Cheers,
David
SmugMug API Developer
My Photos
Any chance of adding the ability to make a signed request to the service to download protected photos/video? (No header needed)
Would be great as wp7 does not make adding headers to image and video downloads very easy (impossible for video playback)
This is currently only implemented with headers, but it's on my list of things to investigate in regard to doing the same with oauth parameters in the query string....but it's a bit more complex.
SmugMug API Developer
My Photos
Whoops, forgot to specify. In feeds. Will they help in feeds.