1.0.6 • Published 7 years ago

instagram-scraper v1.0.6

Weekly downloads
8
License
-
Repository
github
Last release
7 years ago

Instagram Scraper

Basic scraper for Instagram user profile

Installation

yarn add instagram-scraper

How to use it

Get user data

const instagramScraper = require('instagram-scraper')

instagramScraper.getUserData('teddysphotos').then(userData => {
  console.log('User data: ', userData)
})

Get user posts

const instagramScraper = require('instagram-scraper')

instagramScraper.getUserPosts('teddysphotos').then(posts => {
  console.log('Posts: ', posts)
})

Get post comments

const instagramScraper = require('instagram-scraper')

const postCode = 'BWD4NjklGAt'
const commentsLimit = 300 // optional parameter to specify how many comments we want to get
instagramScraper.getPostComments(postCode, commentsLimit).then(comments => {
  console.log('Post comments: ', comments)
})
1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago