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)
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?