# planckbot

> Social media bot built using selenium

Latest version **1.0.4** (published 2021-02-11) · ISC license · 0 weekly downloads

## Install

```sh
npm install planckbot
pnpm add planckbot
yarn add planckbot
bun add planckbot
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2021-02-11 |
| First published | 2020-10-14 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 27.9 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Yash Gohel |
| Maintainers | planckstudio |

## Links

- npm: https://www.npmjs.com/package/planckbot
- npm.io page: https://npm.io/package/planckbot

## Dependencies (4)

- [jquery](https://npm.io/package/jquery.md) ^3.5.1
- [node-fetch](https://npm.io/package/node-fetch.md) ^2.6.1
- [chromedriver](https://npm.io/package/chromedriver.md) ^88.0.0
- [selenium-webdriver](https://npm.io/package/selenium-webdriver.md) ^4.0.0-alpha.8

## Recent versions

- 1.0.4 (latest) — 2021-02-11
- 1.0.3 — 2020-10-20
- 1.0.2 — 2020-10-19
- 1.0.1 — 2020-10-17
- 1.0.0 — 2020-10-14

## README

# PlanckBot

## Version 1.0.4

## Usage

```js
// Import
const bot = require("planckbot");
```

## Modules

### Instagram

```js
/**
 * Common parameters
 * @param  {boolean} headless=true
 * @param  {string} username
 * @param  {number} id
 * @param  {string} code
 * @param  {number} userid
 * @param  {string} hashtag
 * @param  {object} cookie
 * @param  {string} password
 * @param  {number} total
 * @param  {string} path='./'
 * @param  {string} post
 * @param  {string} comment
 * @param {string} message
 */

const ig = new bot.Instagram(headless);

ig.forceLogin(username, password);

// Login and save user session
ig.normalLogin(username, password, path);

// Use previous session to login
ig.sessionLogin(username);

// Auto login with session or force login
ig.login(username, password, path);

ig.blockUser(username);

ig.unblockUser(username);

ig.followUser(username);

ig.unfollowUser(username);

ig.comment(post, comment);

ig.sendMessage(username, message);

ig.getUserInfo(username);

ig.getUserFollowers(userid, cookie);

ig.getUserFollowings(userid, cookie);

ig.getUserInfo(username);

ig.getPost(code);

ig.getReel(code);

ig.getIgtv(code);

ig.getTopHashtagPost(hashtag);

ig.getHashtagPost(hashtag, total);

ig.getUserPost(userid, total);
```

## Support

Email us: [support@planckstudio.in](mailto:support@planckstudio.in)

### Social media

Instagram: [@planck_bot](https://instagram.com/planck_bot) [@planckstudio](https://instagram.com/planckstudio) [@planckcode](https://instagram.com/planckcode) [@plancksupport](https://instagram.com/plancksupport)

Twitter: [@planckstudio](https://twitter.com/planckstudio)

Facebook: [@planckstudio](https://facebook.com/planckstudio)

Linkedin: [Planck Studio](https://in.linkedin.com/company/planckstudio)

### Quicklinks

Product website: [https://product.planckstudio.in/bot](https://product.planckstudio.in/bot?medium=github)

Company website: [https://planckstudio.in](https://product.planckstudio.in?medium=github)

Blog: [https://blog.planckstudio.in](https://blog.planckstudio.in?medium=github)

---
_Source: https://npm.io/package/planckbot · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
