Skip to content

Use shell commands to get feed, archive feed, save account followers, save account following.

Notifications You must be signed in to change notification settings

moudev/manage-instagram-data

Repository files navigation

Manage Instagram data

  • Get feed
  • Archive feed
  • Save account followers
  • Save account following

Configuration

Install dependencies

npm install

Configurate Instagram credentials

  • Rename the file .env.sample to the name .env
  • Add the instagram credentials

IMPORTANT: the two factor authentication should be disabled.

Get feed & archive feed

Save the entire feed in a JSON file and archive all the publications.

First, it's necessary get the feed, and the second step is archive the feed. Each one is a param of the shell.

The --get param saves the data in the feed-data.json file and the --archive param read the data from feed-data.json and archives each publication.

Get feed (first step)

node save-all-feed.js --get

Archive feed (second step)

node save-all-feed.js --archive

Save account followers & account following list

Only saves the data in JSON files.

The account followers list is saved in the followers-data.json file and the account following in the following-data.json file.

Save followers list

node save-all-following-followers.js --followers

Save following list

node save-all-following-followers.js --following

About

Use shell commands to get feed, archive feed, save account followers, save account following.

Topics

Resources

Stars

Watchers

Forks