Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dev-warner/twit-bot
Twitter bot for following and liking a twitter query
https://github.com/dev-warner/twit-bot
Last synced: 27 days ago
JSON representation
Twitter bot for following and liking a twitter query
- Host: GitHub
- URL: https://github.com/dev-warner/twit-bot
- Owner: dev-warner
- License: mit
- Created: 2019-04-27T22:49:56.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-04-27T23:15:55.000Z (over 5 years ago)
- Last Synced: 2024-12-08T07:27:11.570Z (30 days ago)
- Language: TypeScript
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Twit bot
```
Usage: twit-bot [options]Options:
-V, --version output the version number
-q, --query Add query example: -q #javascript (default: "#javascript")
-s --min [n] Add min amount of time to wait before each action example: -s 2500 (default: 2500)
-l --max [n] Add max amount of time to wait before each action example: -l 240000 (default: 240000)
-d --duration [n] Duration in hours example: -d 24 (default: 1)
-a --actions Actions to use example: -a like, follow (default: [])
-h, --help output usage information
```## Example usage
Fill in .env with your tokens below is an example
```
https://developer.twitter.com/en/docs/basics/authentication/guides/access-tokens.htmlconsumer_key = MI6oOYtyfsdgUWCDChkxCzlBe
consumer_secret = Eu0rHZOpjUasdgadsJbBn51W1EH01IpZLH0WnWXgFfCsOjBuF2Dd1
access_token = 874591962086731776-bNusasdgasdg7JqRH8xPww815Xfz1nxemti
access_token_secret = 449g6XSu22F98Ah32523fagasMKArAimVuFS3h37BuiC2e1fIV
``````
$ twit-bot -q '#javascript' --min 1000 --max 60000 --duration 2 --actions follow,like/*
will start a bot that will run for 2 hours firing an action
between 1 second and 1 minute and it will follow and like
*/
```