Eric Gelinas![]()
Featured ItemThis is a simple example of getting an array of photos from the 'flickr.panda.getPhotos' api method.
For more information on this method visit:
http://www.flickr.com/services/api/flickr.panda.getPhotos.html
We will need to provide the "callMethod" function with the following arguments for this example:
<script src="http://yui.yahooapis.com/3.3.0/build/yui/yui-min.js"></script>YUI({
//Last Gallery Build of this module
gallery: 'gallery-2011.02.16-20-31'
}).use('gallery-flickr-api', function(Y) {
Y.flickrAPI.callMethod('flickr.panda.getPhotos',
{
api_key: 'your_api_key',
panda_name: 'ling ling',
extras: 'license, date_taken, owner_name',
per_page: 50,
page:1,
},
{
success : function(response_object) {
//Success Code
},
failure : function(response_object) {
//Failure Code
}
});
});| Subject | Author | Date |
|---|---|---|
| triggering calls on events | paolo nesti poggi | 04/12/11 |
| Re: triggering calls on events | paolo nesti poggi | 04/13/11 |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info