Coder Social home page Coder Social logo

Unable to login about insta-likecom-bot HOT 8 CLOSED

m-deane avatar m-deane commented on June 13, 2024
Unable to login

from insta-likecom-bot.

Comments (8)

shine-jayakumar avatar shine-jayakumar commented on June 13, 2024

Do you have 2-factor authentication activated for your account?

from insta-likecom-bot.

imakou avatar imakou commented on June 13, 2024

I cannot log in by loading enither profile nor typing Username/ password.

from insta-likecom-bot.

m-deane avatar m-deane commented on June 13, 2024

Hi, I don't have 2 factor authentication activated. Been careful not to activate it

from insta-likecom-bot.

shine-jayakumar avatar shine-jayakumar commented on June 13, 2024

I just checked with manually passing the username/password and also using a profile.json file. Both seems to be working for me. I have 2-factor authentication activated.

Please share the logs (hide the credentials)

from insta-likecom-bot.

shine-jayakumar avatar shine-jayakumar commented on June 13, 2024

Hi, enjoying the code/tool.

At the moment consistently coming across this error:

[*] => Error: [LoginFailedError] - Failed to login. Incorrect username/password, or 2 factor verification is active.

But one problem - on chrome login, for the first time I need to save login information for later as this screen is causing the error related to invalid password/2-factor authentication. What's the best way to get the chromium web driver to save this information as every session that is launched is not saving any data/settings from the previous and is the reason why I think I am continuing to encounter this error.

Tried with and without headless browser but have the same issue - can anyone recommend a way around this?

Thanks

Please share the logs.

To save the username/password you can use the path to your browser profile (check the README). You must provide username, password, and a target even if you're using a browser profile. You use a profile.json for this too, like this:

python3 ilcbot.py -pr myprofile.json --brprofile '/home/mycomputer/.config/google-chrome/Profile 1'

Here, I have specified my username, password, target in myprofile.json file and using a Chrome profile. Script will automatically detect if a login is required or not.

from insta-likecom-bot.

imakou avatar imakou commented on June 13, 2024

hey @shine-jayakumar ,
I figure out the issue could be Webdriver.
Somehow, the webdriver is very slow on my Macbook.
And it would cause a timeout and then fail the login.
Any chance you know how to solve this issue???

Thanks

from insta-likecom-bot.

shine-jayakumar avatar shine-jayakumar commented on June 13, 2024

hey @shine-jayakumar , I figure out the issue could be Webdriver. Somehow, the webdriver is very slow on my Macbook. And it would cause a timeout and then fail the login. Any chance you know how to solve this issue???

Thanks

Never heard of Webdrivers running slow on a specific OS. You can share the log and we can figure out (remove the username from the log)

from insta-likecom-bot.

mohit-nigania avatar mohit-nigania commented on June 13, 2024

image
you need to handle this pop up.. this causes ..

Traceback (most recent call last):
File "E:\git_back\insta-likecom-bot\ilcbot.py", line 114, in
raise LoginFailedError("Failed to login. Incorrect username/password, or 2 factor verification is active.")
modules.exceptions.LoginFailedError: Failed to login. Incorrect username/password, or 2 factor verification is active.
[*] => Total time taken: 11.7298 seconds

if i manually accept it.. everything works fine .. there wasnt any wait it take atleast 2-3 to accpt ...

time.sleep(2)
self.wait.until(EC.element_to_be_clickable((By.XPATH, "//button[text()='Allow all cookies']"))).click()

adding 2lines in instafunc.py at line 264 works

from insta-likecom-bot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.