Promise based module for getting any Instagram account public info. For browser and node.js
yarn add instagram-account-info
npm install --save instagram-account-info
import getInfo from 'instagram-account-info';
/**
* @param {String} Instagram Username
*/
getInfo('katalonne').then(info => {
console.log(info)
}).catch(e => {
console.error(e)
})
Key | Type |
---|---|
followers | Number |
following | Number |
posts | Number |
isPrivate | Boolean |
isVerified | Boolean |
profileImage | String |
MIT © katalonne