1.0.0 • Published 10 years ago
fetch-instagram-user v1.0.0
fetch-instagram-user 
fetch follower, media, like, comment counters for the
access_tokenowner
install
Install the package:
$ npm install fetch-instagram-userusage
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
1.0.0
10 years ago