night-stalker
Simple Instagram scraper for recent activities.
The previous library I was using stopped working after Instagram removed their public facing APIs. Public posts should be readily accessible by people anyway because well, they are public.
Features
- Gets up to 12 recent posts (video, post, carousel photos)
- Retrieves latest stories by users
Getting Started
This library requires Node 8.10.0 and above as it utilizes on async/await
, and as per ESLint's requirements.
yarn install
Usage
const balanar = await NightStalker; balanar; const posts = await balanar; // Login is required for stories. Don't commit your credentials to version control! // The account also should not have 2FA enabled. await balanar; const stories = await balanar;
Take note that story URLs are time-sensitive and will expire within x minutes.
TODO
- Livestream URLs