Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BOT INIT FAILED Could not login with your username and password... Try again. #4

Open
giladfuchs opened this issue Jul 7, 2020 · 11 comments

Comments

@giladfuchs
Copy link

also many people complain about it on youtube comment.

I try to run it locally on Ubuntu . and I sign in to instagram on my chrome browser.

@kh-3379
Copy link

kh-3379 commented Jul 30, 2020

plz answer @hobbydevs

  • [ BOT INIT FAILED Could not login with your username and password... Try again.]

@joserealdev
Copy link

I've been doing some research and looks like ig has changed the way you send credentials. Now is encoded instead of plain text

@cjconnor24
Copy link

Yeah I'm also seeing this issue. @joserealdev any idea what the encoding needs to be?

@joserealdev
Copy link

@cjconnor24 To be honest, no idea. But if you want to use it anyway, you can just login in the web and get your password encoded, then put it in the config file and change the key password to enc_password in the login form at http.service.js

@cjconnor24
Copy link

@cjconnor24 To be honest, no idea. But if you want to use it anyway, you can just login in the web and get your password encoded, then put it in the config file and change the key password to enc_password in the login form at http.service.js

Good call, thanks 👍

@R1D3
Copy link

R1D3 commented Nov 5, 2020

how can we get encoded password from web please ?

@joserealdev
Copy link

joserealdev commented Nov 10, 2020

how can we get encoded password from web please ?

Just login and get the password encoded from the ajax call

@ardasnturk
Copy link

in /services/http.service.js replace the password part
password: credentials.password,
with the following:
enc_password: '#PWD_INSTAGRAM_BROWSER:0:{time}:'+credentials.password,
Insta changed the login methods

@jakeau
Copy link

jakeau commented Dec 8, 2020

@ardasenturk is this still working I have had no luck with it. Cheers

Edit:

Magically tried again 30 minutes later and it worked cheers.

@ghost
Copy link

ghost commented Dec 11, 2020

Can verify what @ardasenturk said.

/services/http.service.js

const formdata = this.getFormData({
    username: credentials.username,
    enc_password: '#PWD_INSTAGRAM_BROWSER:0:{time}:' + credentials.password,
});

@inquietto
Copy link

How to get de encode password from web? I don't found the method with ajax

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants