1.0.2 • Published 6 years ago

basic-instagram-user-details v1.0.2

Weekly downloads
353
License
MIT
Repository
github
Last release
6 years ago

Install

$ npm install --save basic-instagram-user-details

Usage

User ID

const bud = require('basic-instagram-user-details');

const user = 'iama_rishi';

bud(user, 'id').then(id => {
  console.log(id);
  // => { data: '259220806' }
});

OR

bud(user, 'id').then(res => {
  const userId = res.data;
  console.log(userId);
  // => 259220806
});

Example

Full Name

bud(user, 'fullname').then(fullname => {
  console.log(fullname);
  // => { data: 'Rishi Giri' }
});

API

bud('username', 'options')

username : string

options : string

OptionsOutput
idstring
fullnamestring
usernamestring
biostring
externalUrlstring
linkshimmedstring
postsstring
followersstring
followingstring
privateboolean
verifiedboolean
connectedobject

Why?

Why? Because Instagram is fucking up with everything.

Related

License

MIT © Rishi Giri;