node-ig
Simple wrapper around the v1 Instagram API
install
$ npm install ig
usage
application
ig
needs to know about your applications client ID and client secret.
You can configure it like this:
ig;
authentication
ig
does not do any authentication and expects you to implement the
oAuth2 authentication flow yourself.
After getting a users access token you can configure ig
like such:
ig;
api
User(opts)
Instagram user class wrap where opts
is:
id
- ID of the user to wrap
var ig = var user = ig;
User.feed(opts, fn)
Retrieves feed for the authenticated user.
igUser;
User.likedMedia(opts, fn)
Retrieves liked media for the authenticated user.
igUser;
User.search(user, fn)
Search for a user
igUser;
more to come...
license
MIT