# tw-followingtrackbot

> Twitter Following Track Bot

Latest version **1.1.5** (published 2022-09-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install tw-followingtrackbot
pnpm add tw-followingtrackbot
yarn add tw-followingtrackbot
bun add tw-followingtrackbot
```

Provides the commands `ftbot`, `followingtrack`.

## 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.1.5 |
| Published | 2022-09-17 |
| First published | 2021-08-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 263.4 KB |
| Known vulnerabilities | 0 (+23 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 20 |
| Author | Behnam Azimi |
| Maintainers | behnamazimi |
| Keywords | twitter following track, following track bot, twitter bot |

## Links

- npm: https://www.npmjs.com/package/tw-followingtrackbot
- Repository: https://github.com/behnamazimi/tw-followingtrackbot
- Issues: https://github.com/behnamazimi/tw-followingtrackbot/issues
- npm.io page: https://npm.io/package/tw-followingtrackbot

## Dependencies (4)

- [axios](https://npm.io/package/axios.md) ^0.21.1
- [chalk](https://npm.io/package/chalk.md) ^4.1.2
- [yargs](https://npm.io/package/yargs.md) ^17.1.1
- [form-data](https://npm.io/package/form-data.md) ^4.0.0

## Recent versions

- 1.1.5 (latest) — 2022-09-17
- 1.1.4 — 2022-09-17
- 1.1.3 — 2022-09-17
- 1.1.2 — 2021-12-24
- 1.1.0 — 2021-08-28
- 1.0.6 — 2021-08-28
- 1.0.5 — 2021-08-28
- 1.0.4 — 2021-08-28
- 1.0.3 — 2021-08-28
- 1.0.2 — 2021-08-28
- 1.0.1 — 2021-08-28
- 1.0.0 — 2021-08-28

## README

# Twitter Following Track Bot

## How to use
Use this bot to track if any account started following other accounts. It's easy to use and you only need a Twitter developer account to start monitoring.

[![npm version](https://img.shields.io/npm/v/tw-followingtrackbot.svg?style=flat-square)](https://www.npmjs.org/package/tw-followingtrackbot)

![Sample](./assets/sample.png)

### 1. Install
Install CLI through your system
``` 
npm install -g tw-followingtrackbot
```
### 2. Set `CONSUMER_KEY` and `CONSUMER_SECRET` 
Get the secrets of your account from your [Twitter developer dashboard](https://developer.twitter.com/) and set with below commands.
```
ftbot set.consumer_key <YOUR_CONSUMER_KEY>
ftbot set.consumer_secret <YOUR_CONSUMER_SECRET>
```
These credentials are required to get the API access token of your account. 

You can also ignore consumer key and consumer secret configuration by adding API access token directly as below.
```
ftbot set.token <YOUR_API_TOKEN>
```

#### 3. Add target accounts 
Add as many Twitter usernames as you want to track as below.
```
ftbot add <TARGET_USERNAME>
```
#### 4. Start tracking
```
ftbot start
```

The free Twitter developer account only allows you to send 15 requests in 15 minutes, so if you’re using a free account you’ll have to stick with it. To get around this, each account will track every 10 minutes by default also, there is a configuration called `track_interval` that lets you change that time and it expects a **number in seconds**. You can set it like this
```
ftbot set.track_interval 600000 
```

## CLI help

```bash
ftbot <command>

Commands:
  ftbot start                          Start tracking
  ftbot add [username]                 Add twitter account to track list
  ftbot unlist [username]              Unlist an account from the track list
  ftbot track [username]               Track an account
  ftbot set.consumer_key [key]         Set twitter consumer key in config
  ftbot set.consumer_secret [secret]   Set twitter consumer secret in config
  ftbot set.token [token]              Set twitter API token in config
  ftbot set.track_interval [interval]  Set track internal as ms in config
  ftbot get.config                     Get all configs

Options:
  --version  Show version number
  --help     Show help
```

### Contributing
I would be grateful to those who helped me make the project truly perfect. So, feel free to contribute to the project.

### License
MIT

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