Flickr API with OAuth-based user authentication
OAuth (Open Authorization, http://en.wikipedia.org/wiki/OAuth) is used by Flickr when user authorisation is required. For example when an application is trying to access user's private photos. OAuth is decribed in http://oauth.net/core/1.0a/. The use of OAuth with Flickr is described in http://www.flickr.com/services/api/auth.oauth.html.
For many programming languages ready-to-use implementations are available (http://www.flickr.com/services/api/). Here I show how to implement Flickr API OAuth authentication in Matlab.
This tutorial can be also used by developers in other languages since Matlab is very easy to read, and I concentrate on Flickr requirements to OAuth implementation rather than on specific programming techniques.
The Flickr explanation of the process is rather hard to understand. Besides in lacks some important details. This work could not succeed without helpful hints from Sam Judson on http://www.flickr.com/groups/api/discuss/.
Cite As
Kotya Karapetyan (2024). Flickr API with OAuth-based user authentication (https://www.mathworks.com/matlabcentral/fileexchange/34162-flickr-api-with-oauth-based-user-authentication), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Data Import and Analysis > Data Import and Export > Web Access and Streaming > Web Services >
- MATLAB > External Language Interfaces > Web Services with MATLAB > Call Web Services from MATLAB Using HTTP >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
html/
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |