Skip to content

Instantly share code, notes, and snippets.

View reginaldbuxley's full-sized avatar

reginaldbuxley

View GitHub Profile
@dannguyen
dannguyen / tweet-selenium.py
Last active December 14, 2022 07:45
how to send a tweet through Firefox using Python + Selenium
"""
Tweeting by controlling Firefox via Python + selenium
http://selenium-python.readthedocs.org/
This script:
- Opens up Firefox
- Goes to https://www.twitter.com
- Clicks the login button
- logs you in (assuming you have your twitter password in a file named `mypassword.txt`...)