/Twiiter-auto-comments-with-multiple-accounts

Twiiter auto comments with multiple accounts

Primary LanguagePythonMIT LicenseMIT

Twiiter-auto-comments-with-multiple-accounts

Twiiter auto comments with multiple accounts using selenium with python

Here, I have added up to 2 accounts which will auto-login and auto-comment to the post.

Change the random words if you want different words in the 15th line, the username and password of Twitter in the 30th and 34th lines,

the Twitter post URL in the 37th line, and replace the '5' with how many comments you want in the 57th line.

do same replace process for second acc also..

if you want one more account means, copy line from 67 to 106 and paste again and replace the usr and pswd etc and remaining things which are been replacable..

Note: For auto-login, the accounts used must be non-authentication accounts.

๐Ÿ‘‰ Note: Every time Twitter updates the code, it varies. So press 'Ctrl+Shift+C' to open the developer tools, and inspect and fork it..

Download the latest version of the Chrome Driver from https://chromedriver.chromium.org/ and extract the file. Place it in the folder, open CMD in that particular folder, and enter cmt.py, or double-click on the cmt.py file.

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