Closed yarekc closed 4 years ago
var config = require('./config'); var Flickr = require('flickrapi'); var flickr = Flickr.tokenOnly({ api_key: config.flickrkey }); flickr.photos.search({ user_id: flickr.options.user_id, page: 1, per_page: 500 }, function(err, result) { // result is Flickr's response });
gives
TypeError: Cannot read property 'photos' of undefined
at this point in time, you probably want to use https://github.com/Flickr/flickr-sdk instead
gives
TypeError: Cannot read property 'photos' of undefined