instagram-stories
Get the Instagram Stories in Node.js
Install
npm install --save instagram-stories
Usage
const {
getStories,
getStoriesFeed,
getMediaByCode,
getUserHighlights,
getUserByUsername
} = require('instagram-stories')
getStories({ id: 25025320, userid: 1284161654, sessionid: '' }).then(stories => {
console.log(stories)
})
getStoriesFeed({ userid: 1284161654, userid: 1284161654, sessionid: '' }).then(feed => {
console.log(feed)
})
getMediaByCode({ code: 'BUu14BdBkO5', userid: 1284161654, sessionid: '' }).then(media => {
console.log(media)
})
getUserByUsername({ username: 'instagram', userid: 1284161654, sessionid: '' }).then(({ user }) => {
console.log(user.id)
})
getMediaByLocation({ id: '292188415', userid: 1284161654, sessionid: '' }).then(({ location }) => {
console.log(location.name)
})
getUserHighlights({id: '25025320', userid: 1284161654, sessionid: '')).then(({ tray }) => {
console.log(tray);
})
License
MIT © Jesús Lobos, Dmitry Konstantinov