Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/emilgardis/block_users

Block users on twitch using the Twitch API. Removes follow and blocks interaction. Can parse single users, one user and from a file. Can interpret user ids
https://github.com/emilgardis/block_users

Last synced: about 2 months ago
JSON representation

Block users on twitch using the Twitch API. Removes follow and blocks interaction. Can parse single users, one user and from a file. Can interpret user ids

Awesome Lists containing this project

README

        

Block users |
============================================

Block users on twitch using the Twitch API. Removes follow and blocks interaction. Can parse single users, one user and from a file. Can interpret user ids

## Guide

Use [Follower list viewer by CommanderRoot](https://twitch-tools.rootonline.de/followerlist_viewer.php) to filter accounts.
(ps, you can also use their [follow remover](https://twitch-tools.rootonline.de/follower_remover.php), which is probably easier to use for some, it has built-in filters 🙂)

Save the filtered results as a file.

Generate a token with [Twitch Token Generator](https://twitchtokengenerator.com/?scope=user:read:blocked_users+user:manage:blocked_users&auth=auth_stay) (needs to have scopes `user:read:blocked_users` and `user:manage:blocked_users`)

[Download](https://github.com/Emilgardis/block_users/releases/latest) the application, and put the executable in the same folder as the file containing users to block.

```sh
cd
./block_users --access-token --skip-comma --file
```

```text
USAGE:
block-users.exe [FLAGS] [OPTIONS]

FLAGS:
--check-first Always check previously blocked users before sending blocks
-h, --help Print help information
--skip-comma Skip content after first comma in a line, ignoring that data
--unblock Unblock users instead of blocking
-V, --version Print version information

OPTIONS:
--access-token
OAuth2 Access token [env: ACCESS_TOKEN]

--channel-login
Name of channel to get token for [env: CHANNEL_LOGIN]

--file
File to read users from

--oauth2-service-key
Bearer key for authorizing on the OAuth2 service url [env: OAUTH2_SERVICE_KEY]

--oauth2-service-pointer
Grab token by pointer. See https://tools.ietf.org/html/rfc6901 [env:
OAUTH2_SERVICE_POINTER]

--oauth2-service-url
URL to service that provides OAuth2 token. Called on start, can have {login} in url to
replace with [channel_login] [env: OAUTH2_SERVICE_URL]

--users ...
Users to block
```

License


Licensed under either of Apache License, Version
2.0
or MIT license at your option.



Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in this crate by you, as defined in the Apache-2.0 license, shall
be dual licensed as above, without any additional terms or conditions.