• Stars
    star
    105
  • Rank 318,000 (Top 7 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created almost 7 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Get the Instagram Stories in Node.js and Browser

instagram-stories

Build Status XO code style

Get the Instagram Stories in Node.js

Install

npm install --save instagram-stories

Usage

const {
  getStories,
  getStoriesFeed,
  getMediaByCode,
  getUserHighlights,
  getUserByUsername
} = require('instagram-stories')

// Get stories of Instagram
// id:        account id for get stories
// userid:    me id
// sessionid: value of cookies from Instagram
getStories({ id: 25025320, userid: 1284161654, sessionid: '' }).then(stories => {
  console.log(stories)
})

// Get stories of people you follow
getStoriesFeed({ userid: 1284161654, userid: 1284161654, sessionid: '' }).then(feed => {
  console.log(feed)
})

// temporary broken. Looking for working solution
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

More Repositories

1

instagram-web-api

🤳 Instagram Private Web API client for Node
JavaScript
1,114
star
2

react-espanol

Recursos para aprender ReactJS en español
489
star
3

rut.js

🇨🇱 Sencilla y pequeña librería para validar y dar formato al RUT
JavaScript
147
star
4

pokemongo-genymotion

Play Pokémon GO from your Genymotion device
JavaScript
19
star
5

mega-link-available

Check if MEGA links is available
JavaScript
9
star
6

rut-regex

Regular expression for matching Chile RUT's
JavaScript
9
star
7

nic-chile

🇨🇱 Dot cl domains (.cl) last registered, search, deleted and whois from nic.cl
JavaScript
8
star
8

emojify-shorten

Shorten your links with emoji 🥑 🦍 🍾 🏄 🎬 🤞 🥂 🎸
JavaScript
7
star
9

pyptc

Example of simple script that automates work in neobux
Python
7
star
10

neo-instagram

🤳 Instagram for Node.js
JavaScript
6
star
11

369

three, six and nine (369) 🌌
JavaScript
5
star
12

ouo

Shorten URLs using OUO.io and earn money
JavaScript
4
star
13

blogger-html-preview

Get output code preview of Google Blogger
JavaScript
4
star
14

bono-marzo-whatsapp

Consulta si eres beneficiado del Aporte Familiar Permanente (Bono Marzo) vía WhatsApp
JavaScript
4
star
15

mega-url-regex

Regular expression for matching MEGA URLs
JavaScript
4
star
16

neo-disqus

Disqus API client library for node.js ✨
JavaScript
3
star
17

hubot-disqus

A Disqus adapter for Hubot 🤖
JavaScript
3
star
18

dotfiles

(◕‿◕🌺)
Vim Script
3
star
19

camila

Elegant Vim/Neovim color scheme that lets you focus on the content with simple bright colors
Vim Script
3
star
20

shorte-st

Shorten URLs using Shorte.st and earn money 💰
JavaScript
3
star
21

blogger-save-theme

Save theme of Google Blogger from Node.js
JavaScript
3
star
22

fbg

Post in Facebook Groups
JavaScript
2
star
23

fbg-videos

Get last videos of Facebook Group
JavaScript
2
star
24

gulp-blogger-html-preview

Get output code preview of Google Blogger
JavaScript
2
star
25

slackhooks

✨ Simple Slack Incoming Webhooks
JavaScript
2
star
26

ahumada

🚍 Api de Buses Ahumada (Chile)
JavaScript
2
star
27

mega-helper

Get info de mega.nz links (direct & folders links)
JavaScript
2
star
28

gulp-blogger-save-theme

Save theme of Google Blogger from Node.js
JavaScript
2
star
29

uskip.me

Shorten URLs using Uskip.me and earn money
JavaScript
2
star
30

betazeta

Betazeta API para Node.js
JavaScript
1
star
31

jlobos

JavaScript
1
star
32

animeyt

PHP
1
star