A Node.JS wrapper for the Instagram API
This project is maintained by meritt
A Node.JS wrapper for Instagram API.
var instapics = require('instapics');
var pics = new instapics({token: 'OAuth2 access_token'});
pics.feed({count: 5}, function(error, data) {
if (error) {
throw new Error(error);
}
return console.log(data);
});
instapics = require 'instapics'
pics = new instapics token: 'OAuth2 access_token'
pics.feed count: 5, (error, data) ->
throw new Error error if error
console.log data
npm install instapics
Grab latest source code and install all dev dependencies
npm link
Change your host, client id, client secret in examples/get-access-token.coffee and after that run examples/get-access-token.coffee
coffee examples/get-access-token.coffee