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

instagram-stories

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

instagram-stories - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

11

index.js

@@ -78,3 +78,12 @@ const fetch = require('isomorphic-fetch')

.then(res => res.json())
.then(({native_location_data}) => native_location_data)
.then(({native_location_data: location}) => location)
)
exports.getUserHighlights = ({
id,
sessionid,
userid,
headers = defaultHeaders
}) => fetch(`https://i.instagram.com/api/v1/highlights/${id}/highlights_tray/`, {
headers: getHeaders(headers, sessionid, userid)
}).then(res => res.json())

2

package.json
{
"name": "instagram-stories",
"version": "1.2.1",
"version": "1.2.2",
"description": "Unofficial package for scraping instagram stories",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -5,3 +5,2 @@ # instagram-stories

[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo)
[![Gitter](https://camo.githubusercontent.com/e5749889f0ddb3458befeee4f3fcac67e73ba76d4fc3aa4cbcc91c8085a34369/68747470733a2f2f6261646765732e6769747465722e696d2f6f682d6d792d706f73682f4c6f6262792e737667)](https://gitter.im/instagram-stories)

@@ -23,2 +22,3 @@ Get the Instagram Stories in Node.js

getMediaByCode,
getUserHighlights,
getUserByUsername

@@ -51,2 +51,6 @@ } = require('instagram-stories')

})
getUserHighlights({id: '25025320', userid: 1284161654, sessionid: '')).then(({ tray }) => {
console.log(tray);
})
```

@@ -53,0 +57,0 @@

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