/SeleniumTwitterBot

A simple python script that automatically posts tweets of links of latest articles in Fedora Magazine along with their titles

Primary LanguagePython

SeleniumTwitterBot

Now make your own TwitterBot in python in as less as 4 lines.

just simply edit make your username and password in the mybot.py and run the script.

Fedora Magazine Bot - GCI Task

Twitter Bot for posting articles from Fedora Magazine. see: fedora_magazine_bot.py

  • a python script that automatically posts tweets of links of latest articles in Fedora Magazine along with their titles.

Creating a simple bot

# Import the TwitterBot class
from twitterbot import TwitterBot

# create a new bot
bot = TwitterBot("my_username", "my_secret_password")

# tweet
bot.tweet("Hello world from python and selenium")

# quit the bot and close the chrome window
bot.quit()

if you don't want to see that unnecessary chrome pop-up then use

bot = TwitterBot("my_username", "my_secret_password", headless=True)

Missing a feature

if you feel like you're missing a feature or if you have found a bug then feel free to open a pull request.