Code Monkey home page Code Monkey logo

fuckoff-twitter's Introduction

Fuck off, @twitter Build

This tiny script automated that for me:

I'm sorry dear followers, but every time @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

Usage

  1. Create an app and get your API keys from Twitter's Developer platform
  2. Create environment variables as described in .env.sample
    1. The TWEET variable is the text you want to tweet when this script runs
    2. 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 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 with cargo:

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

This will be the URL for your fresh new tweet!

fuckoff-twitter's People

Contributors

cuducos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

dev-danilosilva

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.