subzeroid / instagrapi

🔥 The fastest and powerful Python library for Instagram Private API 2024
https://hikerapi.com/p/bkXQlaVe
MIT License
4.2k stars 667 forks source link

lamadava login problem! #1069

Open scadaway opened 1 year ago

scadaway commented 1 year ago

Hello, Today I registered in lamadava to post on my instagram account. I write on this channel because I did not find a channel for lamadava. The documentation is not very clear to me. I can only guide myself by the swagger. I try to authenticate in the api using my instagram username and password and it returns error 500 and in my instagram app it tells me that someone tried to access my account and although I indicate that it was me, it asks me to change the password. I activate 2FA and I don't understand the process. First I request to authenticate without the code, the api tells me that the 2FA code is missing. At that moment, the 2FA code came to me via WhatsApp. When trying to access with my credentials and that code, it tells me that the code has expired and they send me another code by whastapp. So far I have not managed to get the sessionid to access the api resources. Any help will be appreciated. Regards

Describe the bug A clear and concise description of what the bug is.

To Reproduce Provide a piece of code to reproduce the problem.

Traceback Show your full traceback so that it is clear where exactly the error occurred.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

adw0rd commented 1 year ago

Only TOTP is supported by 2fa (via google authenticator). And it’s better to work without TFA, as there may be problems from Instagram

scadaway commented 1 year ago

Only TOTP is supported by 2fa (via google authenticator). And it’s better to work without TFA, as there may be problems from Instagram

This is the result of my login attempts:

Curl: curl -X 'POST' \ 'https://api.lamadava.com/s1/auth/login' \ -H 'accept: application/json' \ -H 'Content-Type: application/x-www-form-urlencoded' \ -d 'username=lotoaxxxxx&password=xxxxxxx&verification_code=&proxy=http%3A%2F%2Flotxxxxxxx%3A1xxxxxxxx%40167.114.xxx.xxx%3A3128&locale=&timezone=&user_agent='

Response Code: 524 Response body `<!DOCTYPE html>

api.lamadava.com | 524: A timeout occurred

A timeout occurred Error code 524

Visit cloudflare.com for more information.
2023-01-16 20:35:57 UTC
You

Browser

Working
Miami

Cloudflare

Working
api.lamadava.com

Host

Error

What happened?

The origin web server timed out responding to this request.

What can I do?

If you're a visitor of this website:

Please try again in a few minutes.

If you're the owner of this website:

The connection to the origin web server was made, but the origin web server timed out before responding. The likely cause is an overloaded background task, database or application, stressing the resources on your web server. To resolve, please work with your hosting provider or web development team to free up resources for your database or overloaded application. Additional troubleshooting information here.

`

Screenshot_2023-01-16-16-38-31-537_com instagram android Screenshot_2023-01-16-16-38-34-555_com instagram android

scadaway commented 1 year ago

The problem I'm having is that I can't authenticate to the api. I am using the api rest service https://api.lamadava.com/docs#/%2Fs1%2Fauth/auth_login_s1_auth_login_post and it gives me an error in the authentication. and as I showed, it asks me to change the password every time I try to authenticate with the lamadava service

oscareng commented 1 year ago

how were you able to fix the 524 error? I have a similar issue @scadaway