Home

Awesome

[DEPRECATED] node-instagram-analytics

npm version npm Dependency Status

NodeJS module for Instagram Analytics

installation

$ npm install node-instagram-analytics

usage

Example.js:

var Analytics = require('node-instagram-analytics')

// use a valid instagram access token
var stats = new Analytics('<INSTAGRAM_ACCESS_TOKEN>')

// analyze an instagram profile you have access to
stats.simple('username', function (err, result) {
    if (err) {
        // do something
    }
    console.log(result)
})

The result will be something like this:

{
  "likes_per_media": 63.79468,
  "comments_per_media": 22.5142697,
  "total_likes": 2679,
  "total_comments": 945,
  "ratio": 5.68411203067,
  "limits": 4853,
  "calls": 3
}

todo

contribution

After checking Github Issues or having a chat with @jobsamuel about the project, feel free to fork and create a Pull Request.

license

MIT License :copyright: Jobsamuel Núñez and other contributors