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 - npm Package Compare versions

Comparing version 2.0.7 to 2.0.8

2

package.json
{
"name": "user-instagram",
"version": "2.0.7",
"version": "2.0.8",
"description": "Get user data and feed content by scraping Instagram's user page. No OAuth needed.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -32,2 +32,3 @@ const axios = require("axios");

posts: user.edge_owner_to_timeline_media.edges.map(edge => {
let hasCaption = edge.node.edge_media_to_caption.edges[0];
return {

@@ -40,3 +41,3 @@ id: edge.node.id,

isVideo: edge.node.is_video,
caption: edge.node.edge_media_to_caption.edges[0].node.text,
caption: hasCaption ? hasCaption.node.text : "",
commentsCount: edge.node.edge_media_to_comment.count,

@@ -43,0 +44,0 @@ commentsDisabled: edge.node.comments_disabled,

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