List the people given user follows on Flickr
$ npm install flickr-following
var following = require('flickr-following')({
key: 'api-key'
})
following('user-id', function (error, users) {
users.length
// => 400
users[0]
// => { "nsid": "49575362@N05", "username": "**mog**", "iconserver": "3770", "iconfarm": 4, "ignored": 0, "rev_ignored": 0 }
})
flickr-client can be passed to avoid repeating auth options:
var client = require('flickr-client')({
key: 'api-key'
});
var following = require('flickr-following')(client)