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

login function always return true? #1970

Open
aboubakrjeb opened this issue Jul 11, 2024 · 2 comments
Open

login function always return true? #1970

aboubakrjeb opened this issue Jul 11, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@aboubakrjeb
Copy link

aboubakrjeb commented Jul 11, 2024

Hello everyone!

I just created a folder and isntalled the instagrapi as dependency using pip and created a index.py and then imported the instagrapi library. When I run the python script, the login function always returns true, even I tried a wrong credential. BTW I'm using a private instagram account, but don't know if it does matter!

The code is follows:
`cl = Client()
coldILoginInIG: bool = cl.login(ACCOUNT_USERNAME, ACCOUNT_PASSWORD)

print(coldILoginInIG)
x = sys.exit(0)
x()`

How can I fix this problem?

@aboubakrjeb aboubakrjeb added the bug Something isn't working label Jul 11, 2024
@sunmasters
Copy link

You can modify methods as you like. Why don't you try?

@aboubakrjeb
Copy link
Author

what you mean you can modify them?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants