instagram-commenter
TypeScript icon, indicating that this package has built-in type declarations

0.0.14 • Public • Published

instagram-commenter Build Status view on npm

A CLI tool and API that automatically comments on posts in an Instagram account's feed.

Installation

Install globally with the NPM package manager, you may need root privledges on Linux systems:

npm install -g instagram-commenter

Setup

Create a config file in the current directory:

instagam-commenter init

Edit the config.yml to suit your needs:

username: instagram       # Instagram username
password: password        # Instagram password
minLikeTimeout: 10        # Minimum timeout after each like (in seconds)
maxLikeTimeout: 30        # Maximum timeout after each like (in seconds)
minCommentTimeout: 60     # Minimum timeout after each comment (in seconds)
maxCommentTimeout: 180    # Maximum timeout after each comment (in seconds)
feedRefreshInterval: 5    # Feed refresh interval (in minutes)
comments:                 # List of comments to use
- hi
- hey
- hello

Usage

Start the bot with your config file:

instagram-commenter -c config.yml

If you want to persist cookies and state to prevent logging in every time the bot is started, define a state file:

instagram-commenter -c config.yml -s state.json

Readme

Keywords

none

Package Sidebar

Install

npm i instagram-commenter

Weekly Downloads

2

Version

0.0.14

License

MIT

Unpacked Size

30.3 kB

Total Files

15

Last publish

Collaborators

  • octavetoast