Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

user-instagram

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

user-instagram

Get user data and feed content by scraping Instagram's user page. No OAuth needed.

  • 1.1.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.2K
decreased by-18.89%
Maintainers
1
Weekly downloads
 
Created
Source

Node-Instagram

NPM

Introduction

The aim of this module is to provide an easy way to retrieve a user's Instagram data.
This module is available on NPM.

npm install user-instagram

Usage

I tried to make this module user-friendly as much as I could. Just provide a username or a profile link.

edouard_courty
https://www.instagram.com/edouard_courty

const getInstaProfile = require("user-instagram");

getInstaProfile("edouard_courty")
  .then(userData => {
    console.log(userData.user)
  })
  .catch(console.error);

Data Structure

The output will look like the following:

{
  profileLink: 'https://www.instagram.com/edouard_courty',
  subscriberCount: 444,
  subscribtions: 362,
  postCount: 27,
  username: 'edouard_courty',
  isPrivate: false,
  isVerified: false,
  fullName: 'Edouard Courty',
  bio: "<userBio",
  id: '<userId>',
  avatar: <avatarThumbnailLink>,
  avatarHD: <HDAvatarLink>,
  posts: []
}

This module uses ES6 Promises.

© 2020 - Edouard Courty

Keywords

FAQs

Package last updated on 21 Mar 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc