Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andefined/twreport
Batch Report / Block Abusive Accounts on Twitter
https://github.com/andefined/twreport
golang twitter
Last synced: 14 days ago
JSON representation
Batch Report / Block Abusive Accounts on Twitter
- Host: GitHub
- URL: https://github.com/andefined/twreport
- Owner: andefined
- License: mit
- Created: 2017-08-28T12:47:35.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-28T19:59:19.000Z (about 7 years ago)
- Last Synced: 2024-06-20T13:30:30.915Z (5 months ago)
- Topics: golang, twitter
- Language: Go
- Homepage:
- Size: 9.11 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/andefined/twreport.svg?branch=master)](https://travis-ci.org/andefined/twreport)
[![Go Report Card](https://goreportcard.com/badge/github.com/andefined/twreport)](https://goreportcard.com/report/github.com/andefined/twreport)
[![Go Releaser](https://img.shields.io/github/release/andefined/twreport.svg)](https://goreportcard.com/report/github.com/andefined/twreport/releases/latest)
[![Code Coverage](https://img.shields.io/codecov/c/github/andefined/twreport/master.svg)](https://codecov.io/gh/andefined/twreport/releases/latest)[![twreport](screenshot.png)](https://github.com/andefined/twreport)
# twreport
A simple CLI for batch reporting / blocking abusive accounts on Twitter.## Installation
You can download the binaries from the [releases](https://github.com/andefined/twreport/releases) section, or you can install it with Go.```bash
go get -u github.com/andefined/twreport
go install github.com/andefined/twreport
```## How to use
1. Prepare you *csv* file without a header. Just point the correct column of the *screen_name* with `--column` flag. Default column is *0*.e.g. CSV `874276197357596672,realDonaldTrump`
2. Create an [application](https://apps.twitter.com) and generate *Access Token and Token Secret* under *Keys and Access Tokens* tab.```bash
twreport report \
--consumer-key $CONSUMER-KEY \
--consumer-secret $CONSUMER-SECRET \
--access-token $ACCESS-TOKEN \
--access-token-secret $ACCESS-TOKEN-SECRET \
--csv ./templates/block.csv \
--column 1 \
--prompt \
--block
```