Open drepram opened 6 years ago
This is expected, Instagram actually uses several safety mechanisms, including this challenge. This CLI doesn't handle the errors properly (yet) hence the console.error("can't login")
.
Known safety mechanisms:
For now, PRs are welcome
I'm open to try to fix this. Is it okay for me to format other errors too (wrong username, password)?
Yes, feel free to include them either in the same PR or different ones 😇 On Sun, 7 Oct 2018 at 19.59 Stevan Marjanovic notifications@github.com wrote:
I'm open to try to fix this. Is it okay for me to format other errors too (wrong username, password)?
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/mathdroid/igdm-cli/issues/3#issuecomment-427651495, or mute the thread https://github.com/notifications/unsubscribe-auth/ADkzMoxoCW8izudqiFVM8C0KcVF2e1lqks5uifqTgaJpZM4Te0aU .
Known safety mechanisms:
- Secret code, sent to email => we can let the user input the code through the CLI
Right now on my fork, there is a fix for wrong username/password. I also managed to send the user the verification code (via email). But when I try to verify it over code()
function (defined in challenge.js
:194
) I get error that the function is not defined at all...
I'm sorry for the inconvenience, but are you aware of the problem or should I issue it on instagram-private-api
?
Any update regarding this issue? I'm currently facing the same. Already tried @marjanovicsteva fork and i wasn't able to also find a good solution
Any update regarding this issue? I'm currently facing the same. Already tried @marjanovicsteva fork and i wasn't able to also find a good solution
Hey @Pr0ph3ta , I recently contacted a guy that created igdm, a project that successfully resolves the challenge issue. He replied with the following snippet.
Client.Web.Challenge.resolve(error, 'email').then((challenge) => challenge.code('123456'))
But for some super strange reason, this promise doesn't return anything (so neither .then()
or .catch()
functions are called). There is no situation that is supposed to just skip promises. I mean, they promised...
If you're down to check all this together, so I could send you everything I've collected regarding this, feel free to contact me :)
btw the script https://github.com/nemanjan00/instagram-chat does login without generating the "this was me/this wasn't me" thing
any updates on this?, I am getting the challenge URL, and solve it in a web browser, but after that still requires another challenge in igdm-cli, how can I login then?
Just stumbled on same exact issue, same error output. After i visit the challenge link i was given in the output, it logs me into the browser but not into the CLI.
So I was accessing instagram on the web and I wanted to view my DM's through
igdm
, but somehow, I can't log in.Is this a bug?