Twitter-auto-tweets-with-multiple-accounts
Twitter auto tweets with multiple accounts using selenium with python
Here, I have added up to 2 accounts which will auto-login and auto-tweet in twitter
Change the random words if you want different words in the 15th line,
the username and password of Twitter in the 24th and 28th lines,
the Twitter post URL in the 31st line, and replace the '5' with how many tweets you want in the 50th line.
Note: For auto-login, the accounts used must be non-authentication accounts
do replace for 2nd acc also,if you want more acc copy and 60 to 101 line and replace username and pass and remaining thing..
Download the latest version of chromedriver from https://chromedriver.chromium.org/. After downloading, extract the file and place it in the same folder as the "g.py" file.
Replace lines 18 and 22 with your Twitter username and password. Also, replace lines 63 and 67 with your Twitter username and password.
Note: Do not use accounts with two-factor authentication.
To run the script, open the command prompt in the folder and enter "g.py" or double-click on the "g.py" file to start the automated process.
๐Note:-
๐if your selenium version is in latest version then the code never run
๐open cmd and enter pip uninstall selenium
And enter
pip install selenium==4.2.1 or pip install selenium==4.2.0
and hit enter
and
python -c "import selenium; print(selenium.version)"
๐๐๐๐จ ๐๐ฃ๐๐ค๐ง๐ข๐๐ฉ๐๐ค๐ฃ ๐๐จ ๐ค๐ฃ๐ก๐ฎ ๐๐ค๐ง ๐๐๐ช๐๐๐ฉ๐๐ค๐ฃal ๐ฅ๐ช๐ง๐ฅ๐ค๐จ๐ ๐๐ฃ๐ ๐ฌ๐ ๐๐ง๐ ๐ฃ๐ค๐ฉ ๐ง๐๐จ๐ฅ๐ค๐ฃ๐จ๐๐๐ก๐ ๐๐ค๐ง ๐๐ฃ๐ฎ ๐ ๐๐ฃ๐ ๐ค๐ ๐๐ก๐ก๐๐๐๐ก ๐๐๐ฉ๐๐ซ๐๐ฉ๐ฎ ๐๐ค๐ฃ๐ ๐๐ฎ ๐ฉ๐๐๐จ ๐ฉ๐ค๐ค๐ก.