/Twitter-auto-tweets-with-multiple-accounts

Twitter auto tweets with multiple accounts using selenium with python

Primary LanguagePythonMIT LicenseMIT

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: 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 ๐™ฅ๐™ช๐™ง๐™ฅ๐™ค๐™จ๐™š ๐™–๐™ฃ๐™™ ๐™ฌ๐™š ๐™–๐™ง๐™š ๐™ฃ๐™ค๐™ฉ ๐™ง๐™š๐™จ๐™ฅ๐™ค๐™ฃ๐™จ๐™ž๐™—๐™ก๐™š ๐™›๐™ค๐™ง ๐™–๐™ฃ๐™ฎ ๐™ ๐™ž๐™ฃ๐™™ ๐™ค๐™› ๐™ž๐™ก๐™ก๐™š๐™œ๐™–๐™ก ๐™–๐™˜๐™ฉ๐™ž๐™ซ๐™ž๐™ฉ๐™ฎ ๐™™๐™ค๐™ฃ๐™š ๐™—๐™ฎ ๐™ฉ๐™๐™ž๐™จ ๐™ฉ๐™ค๐™ค๐™ก.