Skip to content

Batch Report / Block Abusive Accounts on Twitter

License

Notifications You must be signed in to change notification settings

andefined/twreport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Go Report Card Go Releaser Code Coverage

twreport

twreport

A simple CLI for batch reporting / blocking abusive accounts on Twitter.

Installation

You can download the binaries from the releases section, or you can install it with Go.

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 and generate Access Token and Token Secret under Keys and Access Tokens tab.

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