0

I'm new to using instagrapi and I want to understand if there is a way to automate the confirmation code process.

from instagrapi import Client

cl = Client()
cl.login(ACCOUNT_USERNAME, ACCOUNT_PASSWORD)

user_id = cl.user_id_from_username("adw0rd")
medias = cl.user_medias(user_id, 20)

Every time I run the code, the verification code sent to my email is required. It's not sustainable for the app I want to make.

0 Answers0