The flickr.com website by Yahoo! provides API access to the Flickr repository of public photos uploaded to the community. The API is extremely rich, and its documentation is available at http://www.flickr.com/services/api/, and is called App Garden.
The API is enabled for various programming languages and access methods. We will build a solution of a wrapper that can be expanded to get any Flickr API service, using the PHP REST access method.
This example will be constructed from the following library, controller, and view:
application/libraries/flickr_wrapper.php
: The is the CI wrapper library that enables smooth Flickr API access via CI. This basic services library can be expanded to support the entire Flickr App Garden.application/controllers/flickr_recent.php
: This is the controller that uses theflickr_wrapper
library that we wrote and pulls the recent public photos uploaded with the EXIF photo info and the photographer-related...