fetch-instagram-user

1.0.0 • Public • Published

fetch-instagram-user Travis

fetch follower, media, like, comment counters for the access_token owner

install

Install the package:

$ npm install fetch-instagram-user

usage

Obtain access_token through the regular OAuth flow with basic permissions.

const fetch = require('fetch-instagram-user');
 
fetch(access_token).then(stats => {
  console.log(stats);
  // { name: 'bence.danyi', followers: 50, posts: 251, likes: 268, comments: 6 }
});

api

fetch(token)

Fetch followers and posts counters, and likes, comments counters for the last 20 posts.

license

MIT

Readme

Keywords

Package Sidebar

Install

npm i fetch-instagram-user

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • lennon