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