subzeroid / instagrapi-rest

RESTful API Wrapper for Instagram Private API
https://hikerapi.com/p/ygXxF38v
MIT License
499 stars 128 forks source link

[BUG] status code 500 while trying to login #55

Open fatihozdil opened 1 year ago

fatihozdil commented 1 year ago

http://localhost:8000/auth/login I am trying to login. Account has 2FA . First I filled username and password after that I get the 2FA code via email and filled the input and send another request but still getting 500 error. I am using the docker environment. image shown in the above picture Is mock data. However, I have tried with the real account but, it did not work either.

see below: image

adw0rd commented 1 year ago

@fatihozdil send your fix as PR please

fatihozdil commented 1 year ago

@adw0rd I will try to solve, but I am not very familiar with python. I just wanted to try api.

fatihozdil commented 1 year ago

image

I faced with this 500 error when I used to install above commands for installation. The problem is 2fa, it does not wait for me to write 2fa code, throws "EOFError: EOF when reading a line" error. I tried other installation methods. I did not face with the same problem it let me write 2fa code, but I faced another error ChallengeRequired. I don't know what that means.

adw0rd commented 1 year ago

@fatihozdil https://adw0rd.github.io/instagrapi/exceptions.html

juancarlosso commented 1 year ago

is instagrapi-rest as powerfull as instagrapi ? i mean.. does it has the same features?.. I'm about to start a project with instagram and I want to use "REST" but I don't know if "REST" receives updates. I can see that "Instagrapi" is more active. Should I use instagrapi instead of REST? (( I'm sorry if this has nothing to do with the post, but I couldn't find where to put my question.))

adw0rd commented 1 year ago

i mean.. does it has the same features?..

instagrapi-rest is wrapper for instagrapi, if instagrapi-rest is no function there, but it is in instagrapi, then you can add it and send me a PR

I'm sorry if this has nothing to do with the post, but I couldn't find where to put my question.))

you should always create a new thread if you haven't found the right one