Skip to content

Manukam/instagram-bot.js

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

InstagramBot.js

What does it do

This bot helps you increase the engagement of your Instagram profile through different social algorithms. Increase the likes on your photos and followers.

Features

  • [βœ“] Easy to use
  • [βœ“] Login
  • [βœ“] 2FA (bad location)
  • [βœ“] 2FA (sms pin enabled)
  • [βœ“] Multi-Session
  • [βœ“] Multi-Platform (Windows 10, Mac OSX, Linux, Raspberry PI 3)
  • [βœ“] Errors manager (bad pin, bad password)
  • [βœ“] Screenshot and Verbose logger
  • [βœ“] Like Mode Classic: bot select random hashtag from config list and like 1 random photo and repeat this all time.
  • [βœ“] Like Mode Realistic: bot select random hashtag from config list and like fast 10-12 photos, sleep 15-20min and repeat this all time. Sleep at night.
  • [βœ“] Like Mode Competitor Users: select account, select random followers, like 10-12 photo and sleep 15-20min. Sleep at night.
  • [βœ“] Like Mode Superlike: select random hashtag from config list and like 3 random photo of same user.
  • [βœ“] Comment Mode Classic: select random comment and random hashtag and write comment under photo.
  • [✘] Follow/Defollow Classic: follow user from random hashtag and defollow after 1h.
  • [✘] Defollow All: defollow all your following (ignore users in whitelist).

Fast setup (CLI Version)

  1. Download stable bot version and extract it.
  2. Download Node.js >= 7.6 and install it.
  3. Run npm install in instagram-bot.js folder.
  4. Rename config.js.tpl to config.js, fill it properly.
  5. Start the bot via node bot.js
  6. If work add star ⭐ at this project ❀️
  7. If you want help me: donate on paypal or become a backer on patreon.

For advanced configuration see INSTALL.md.

2FA: SMS Pin

If you received sms or email pin edit loginpin.txt and insert it on first line. Wait 50-60 seconds...

Tips: hide browser

Edit config.js and switch chrome_headless option to true.

Check if work:

See images in ./logs/screenshot or disable chrome_headless flag.

Bugs

  1. [ERROR] login: The username you entered doesn't belong to an account. Please check your username and try again. (restart bot and retry...)
  • Why happen? Instagram desktop is in overcapacity. Happen at 12-14 and 19-21 all days.
  • Solution: Login in other time or Logout from your instagram app, and login again. Reboot bot and retry... Try and retry, and retry, and retry... Or stop bot and wait 2-3h...
  1. Error: Protocol error (Page.captureScreenshot): Target closed.
  • Why happen? macOS don't support correctly screenshot from puppeteer
  • Solution: set screenshot on false in config.js
  1. This code is no longer valid. Please request a new one. (400) (/accounts/login/ajax/two_factor/)
  • Why happen? Instagram bug at login
  • Solution: disable at moment 2FA or try old version of chrome (edit config.js set executable_path)

Desktop setup (GUI Version)

  1. Download Social Manager Tools GUI (Note: is alpha version).
  2. Run application.

Docker setup

If you prefer to run this using Docker, an official container is available from the Docker Hub.

In order to run it, copy the config.js.tpl file, configure it as you prefer, then use it through volume mapping, like in this example:

$ docker run \
    --restart=always \
    --name=instagram-bot \
    -d \
    -v /path/to/config.js:/app/config.js \
    socialmanagertools/instagram-bot.js &>/dev/null

Roadmap

See full roadmap (open task, todo and bugs) in project page.

Sorry for snake_case

I love snake_case syntax sorry for this 😭 don't hate me.

Social Manager Tools

Social Manager Tools GUI
InstagramBot.js (LIB)
TwitterBot.js (LIB)
FacebookPageBot.js (LIB)
WordpressTelegramBot.js
MediumTelegramBot.js

License

GNU GENERAL PUBLIC LICENSE

Copyright (c) 2018 Patryk RzucidΕ‚o (PTKDev)

About

πŸ€– πŸ“· Instagram Bot made with love and nodejs

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 93.4%
  • Smarty 3.7%
  • Go 2.7%
  • Other 0.2%