- Get feed
- Archive feed
- Save account followers
- Save account following
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.
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
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