This is a Selenium based python project that automates liking tweets via Chrome Driver
login()
: Log in into your accountlike_homepage()
: Like tweets in hompagelike_by_hastag()
: Like tweets in hashtaglike_user_posts()
: Like tweets of a userlike_a_list()
: Like tweets from a twitter listlogout()
: Log out of your account
post_to_like
= no of posts to like in each iterationwait_like
= seconds to wait before liking next postuser
= username of the twitter profile to like the posts ofwait_pageload
= seconds to wait for page to loadlist_link
= link to any twitter listchromedriver
= path to the chromedriverhastag
='hastag to search for
- Have
python
environment setup - Clone the repo and go to the cloned directory
- Run
pip install selenium
- Have chrome Driver installed Link
- Check the Variables, change values as required
- There are two ways to get the credentials via
Environment Variables
orHardcode
in credentials - For better security use Environment variables.
- For windows
- Start>system>Advanced System Settings>Environment Variables>New
- For Mac and linux
- And if you like living on the edge just paste your id and password in credentials file