diezo / Ensta

🔥 Fast & Reliable Python Package For Instagram API - 2024
https://bit.ly/ensta-discord
MIT License
371 stars 44 forks source link

Login failed with given credentials. #108

Open Qadry-0 opened 6 months ago

Qadry-0 commented 6 months ago

Response: {'message': "We couldn't find an account with the username ........ Check the username you entered and try again.", 'status': 'fail', 'error_title': 'Username Not Found', 'buttons': [{'title': 'Try Again', 'action': 'dismiss'}, {'title': 'Recover Your Account', 'action': 'show_recovery_challenge'}], 'invalid_credentials': True, 'exception_name': 'UserInvalidCredentials'}

Although I am sure of the username and password

zhixx018 commented 6 months ago

+1

nigrumpirate commented 6 months ago

+1

maaahdi commented 5 months ago

+1

RobertAzovski commented 5 months ago

Try using Web Class instead Mobile for me that works. Probably mobile only works for accounts registered or authenticated ever in Mobile App. But not sure.

Also in the ensta description it is said that Web is gonna be deprecated but if this is the only way to use accounts how to fix ensta.lib.Exceptions.AuthenticationError then. Waiting that some of lib creator will clarify.

diezo commented 5 months ago

@zhixx018 @Qadry-0 @amn-0 @maaahdi @RobertAzovski

I think there's a change made by Instagram in their Mobile App's Login API. A maintainer needs to update the mobile class to reflect the changes. Till then, we advise you to use the Web Class.

Although it's deprecated, it should work fine for the time period.

RobertAzovski commented 5 months ago

@zhixx018 @Qadry-0 @amn-0 @maaahdi @RobertAzovski

I think there's a change made by Instagram in their Mobile App's Login API. A maintainer needs to update the mobile class to reflect the changes. Till then, we advise you to use the Web Class.

Although it's deprecated, it should work fine for the time period.

is there possibility that If account was made via website then probably it will be unaccessible for Mobile api ??

At least before first login in app

justinmichaelvieira commented 5 months ago

@diezo Re:

Till then, we advise you to use the Web Class.

Although it's deprecated, it should work fine for the time period.

Thank you, I am able to authenticate using Web instead of Mobile; However the Web structure has no block function;

I would like to try using the block function from Web, is this possible using the Web object? I could perhaps add the block function myself, if I could get some guidance on how to do so.