Twitter auto tweets with multiple accounts using selenium with python
the Twitter post URL in the 31st line, and replace the '5' with how many tweets you want in the 50th line.
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: Every time Twitter updates the code, it varies. So press 'Ctrl+Shift+C' to open the developer tools, and inspect and fork it..
👉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 𝙥𝙪𝙧𝙥𝙤𝙨𝙚 𝙖𝙣𝙙 𝙬𝙚 𝙖𝙧𝙚 𝙣𝙤𝙩 𝙧𝙚𝙨𝙥𝙤𝙣𝙨𝙞𝙗𝙡𝙚 𝙛𝙤𝙧 𝙖𝙣𝙮 𝙠𝙞𝙣𝙙 𝙤𝙛 𝙞𝙡𝙡𝙚𝙜𝙖𝙡 𝙖𝙘𝙩𝙞𝙫𝙞𝙩𝙮 𝙙𝙤𝙣𝙚 𝙗𝙮 𝙩𝙝𝙞𝙨 𝙩𝙤𝙤𝙡.