Skip to content

purposeindustries/node-fetch-instagram-user

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published