shine-jayakumar / insta-likecom-bot

Automates likes and comments on an instagram account or tag
MIT License
140 stars 30 forks source link

Failed to login. Incorrect username/password #28

Closed p0se closed 1 year ago

p0se commented 1 year ago

When I run the script, I get the error: python3 instalikecombot.py --loadenv --delay 5 --numofposts 10 --headless --nocomments -br firefox [:294]:[ERROR]:Script ended with error : Failed to login. Incorrect username/password, or 2 factor verification is active.

I have disabled the 2 factor authentication.
The access data are stored in the .env. I tested it with two IG accounts.

If I use the command: instalikecombot.py -u yourusername -p yourpassword -t thetarget [1] 15967 -bash: yourpassword: command not found root@insta:/home/insta-likecom-bot# Error: username, password, and target are required.

shine-jayakumar commented 1 year ago

When I run the script, I get the error: python3 instalikecombot.py --loadenv --delay 5 --numofposts 10 --headless --nocomments -br firefox [:294]:[ERROR]:Script ended with error : Failed to login. Incorrect username/password, or 2 factor verification is active.

I have disabled the 2 factor authentication. The access data are stored in the .env. I tested it with two IG accounts.

If I use the command: instalikecombot.py -u yourusername -p yourpassword -t thetarget [1] 15967 -bash: yourpassword: command not found root@insta:/home/insta-likecom-bot# Error: username, password, and target are required.

enclose the password in single quotes when running it from terminal: python3 instalikecombot.py -u youusername -p 'youRpaS5w0rd' -t haiku -nc

Also, there's an issue noticed in firefox currently. Works fine with Chrome.