Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/cuducos/fuckoff-twitter

Fuck off @twitter, let me have "latest tweets" as a default.
https://github.com/cuducos/fuckoff-twitter

Last synced: 3 days ago
JSON representation

Fuck off @twitter, let me have "latest tweets" as a default.

Awesome Lists containing this project

README

        

# Fuck off, @twitter ![Build](https://github.com/cuducos/fuckoff-twitter/workflows/Build/badge.svg)

This tiny script automated that for me:

> I'm sorry dear followers, but every time [@twitter](https://twitter.com/twitter) makes me re-select "latest tweet" I'm gonna tweet that over and over again (and I do encourage you to do the same; I promise my support in the form of RTs): https://t.co/yIpedfHvIc
>
> — Eduardo Cuducos, [November 20, 2019](https://twitter.com/cuducos/status/1197153914916888579)

## Usage

1. Create an app and get your API keys from [Twitter's Developer platform]([https://developer.twitter.com/](https://developer.twitter.com/))
2. Create environment variables as described in `.env.sample`
1. The `TWEET` variable is the text you want to tweet when this script runs
1. **Optionally**, if you want this tweet to be a reply for a given tweet, add the status ID number of that given tweet into `REPLY_TO` (otherwise just ignore it)
3. [Download the executablel](https://github.com/cuducos/fuckoff-twitter/releases/tag/latest) for Linux, macOS or Windows and run it!

For example, these last two settings look like that in my case:

```
TWEET=Fuck off @twitter, let me have "latest tweets" as a default.
REPLY_TO=1197153914916888579
```

## Development & contributing

Requires [Rust](https://www.rust-lang.org/) with `cargo`:

```console
$ cargo run
https://twitter.com/cuducos/status/1194269206419775488
```

This will be the URL for your fresh new tweet!