1.0.2 • Published 8 years ago
basic-instagram-user-details v1.0.2
Install
$ npm install --save basic-instagram-user-detailsUsage
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
Options | Output |
|---|---|
id | string |
fullname | string |
username | string |
bio | string |
externalUrl | string |
linkshimmed | string |
posts | string |
followers | string |
following | string |
private | boolean |
verified | boolean |
connected | object |
Why?
Why? Because Instagram is fucking up with everything.
Related
instavim:Command line Instagram media downloader.istalk:Stalk Instagram users from the command line!instagram-id-of:Find UserID of any Instagram user from command line!instagram-profile-picture:An API to get url to the profile picture and other Instagram medias.instagram-links:Get links to the publically shared media on Instagram.
License
MIT © Rishi Giri;