This is a simple script for an Instagram bot developed using the Node.js and Puppeter. This bot is based on automation that likes top three most recent post according to the tags (eg:- #car or #food) provided in the code.
-
Nodejs
-
Dependencies/ libraries used :
- puppeteer
To run run this project locally in your system:-
-
Download and install Visual Studio Code
-
Download and install Node.js
-
Clone this repository and open instagram-bot folder in vscode
-
install these libraries
-
npm init --yes
-
npm install puppeteer
-
-
replace the userid and password in script.js file in line "await ig.login('[email protected]','*********');"
-
run using command below
- node script.js