A NodeJS wrapper for the Instagram Bot It works with instagram private api ,It has almost all the features the Instagram app.
- Like/unlike posts
- Post/Delete comments
- Like/unlike comments
- Follow/unfollow users
- Get Followers / Following
- Get Likers From Media
- Get Comments / Get User Tagged From Media.
- Get User Info / Location & More ..
- Clone the repository.
https://github.com/anouarbensaad/InstagramBot
and switch into the directorycd InstagramBot
Modify the database configuration file common/common_db.js
function IGAPIDB(){
const self = {}
var pool = mysql.createPool({
connectionLimit : 10,
host: "<YOUR DB HOSTNAME | LOCALHOST>",
user: "<DB USERNAME>",
password: "<DB PASSWORD>",
database: "<DATABASE_NAME>",
charset: "utf8mb4_unicode_ci"
});
Change the time at each action for you did not detect
setTimeout(function()
{
processfollow(source_user,category,resdata,index+1,callback);
},Math.floor(Math.random()*('???'))+'???');
console.log('\x1b[93m%s\x1b[0m',"[~] Elapsed Time : "+_seconds+" seconds");