Open viralcode opened 9 months ago
Use login_by_sessionid(sessionid: str)
login_by_sessionid
Where do i get this sessionid from ?
When you've cl.dump_settings(f"data/{generated_uuid}.json") it created a json with ur login session info. you can find it in their, format like this:
user_settings = cl.load_settings(path to folder) cl.login_by_sessionid(user_settings["authorization_data"]["sessionid"])
Here is an alternative:
cl.login(username, password)
ONLY use the alternative when instagram prompts you with a loginrequired exception, instagram has signed you out and wants you to sign in again. When you relog generate session info and delete the previous, dump the settings and when you relog reuse the newly dumped settings.
I have the same problem in the first login.
Describe the bug
I keep getting Unrecognized device alert emails from instagram. I have my app hosted on digital ocean and i use a proxy from proxy seller.
I tried the challenge handlers but none of them are triggering for some reason. How do i fix this ?
Desktop (please complete the following information):