Skip to content

victoriadrake/heartbreak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

heartbreak πŸ’”

Use the Twitter API to unlike your Twitter Likes.

Install

Run: go install github.com/victoriadrake/heartbreak

Alternatively, clone this repository, then build the program:

cd heartbreak
go build

Usage

Expects a .env file with the following:

export TWITTER_ACCESS_TOKEN= ...
export TWITTER_ACCESS_TOKEN_SECRET= ...
export TWITTER_CONSUMER_KEY= ...
export TWITTER_CONSUMER_SECRET= ...
export TWITTER_USERNAME= ...

This program fails safely. When run without the -unlike flag, or any arguments at all, it prints usage instructions:

Usage: heartbreak [options]

  -filename string
        Optional name of the file to store archived Tweets. (default "likes-archive.txt")
  -no-archive
        Do not archive unliked Tweets.
  -unlike
        Required to unlike all liked Tweets. Logs Tweet text to a file in the current directory.

To unlike all your likes and by default, log the Tweets to a file called likes-archive.txt:

heartbreak -unlike

Specify your own filename with -filename, for example:

heartbreak -unlike -filename unlikes.log

Not one for nostalgia? I get it. Skip logging with -no-archive:

heartbreak -unlike -no-archive

New day, new you.

About

Unlikes your Twitter Likes. πŸ’”

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages