0.1.2 • Published 4 years ago

@wolfleader101/insta-wrapper v0.1.2

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

insta-wrapper

an instagram API wrapper for Node.JS

Examples

examples are in ./examples/example.js

Getting basic user info

const insta = require('@wolfleader101/insta-wrapper');

const {user_id, access_token} = require('./config.json')

insta.GetClientInfo(user_id,access_token)
.then(res => {
    console.log(res)
})

Config

How to get Access Token and User Id https://developers.facebook.com/docs/instagram-api

example config:

{
   "access_token": "myLongAccessToken",
   "user_id": "myID"
}