def main(): insta = Instagram(USERNAME, PASSWORD) insta.log_in(is_facebook=True, is_two_factor=True) insta.enter_profile(user_name='forbes') insta.enter_profile(self_profile=True)