/twitter_shower_thoughts

Just a small automation project I created to learn Selenium.

Primary LanguagePython

Shower Thoughts Bot

This is a bot that automatically posts shower thoughts to Twitter. It does this by grabbing the top showerthought of the day from the r/Showerthoughts subreddit.

Installation

  • Install Python (Python 3+ required)
  • Clone the repo
  • git clone https://github.com/dontna/twitter_shower_thoughts
  • Install the Selenium module
  • pip install selenium or python -m pip install selenium
  • You're good to go
  • Configuration

    In order for the script to work as intended, you will need to add the details of the Twitter account you wish to use in the file. Simply open the file with your favourite IDE or text editor, and replace all of the userfield.send_keys("username here") and passfield.send_keys("password here") with your Twitter username and password.

    Example userfield.send_keys("dontna") passfield.send_keys("verysecurepassword1")

    Contributing

    I will not be updating this repository as it was just a little test project I did for fun. If you would like to add/remove things, please feel free.

    Forking My Projects?

    All of my projects you can fork and utilise the code however you want. You don't need to give me credit, but can do if you would like.