Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 659 Bytes

README.md

File metadata and controls

35 lines (25 loc) · 659 Bytes

flickr-following

List the people given user follows on Flickr

Install

$ npm install flickr-following

Usage

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)