Closed eduardoegos closed 5 years ago
Generate it before instantiating a new api object which accepts device_id
as one of the possible arguments
There's an example right here: https://github.com/ping/instagram_private_api/blob/816c4945f80fcd64e69dd27b5e8e0df768c0f9c1/tests/test_private_api.py#L80
amazing, thank you!!
Please follow the guide below
x
into all the boxes [ ] relevant to your issue (==> [x] no spaces).Before submitting an issue, make sure you have:
Which client are you using?
instagram_private_api/
)instagram_web_api/
)Describe your Question/Issue:
So i use the bot with a few of accounts of mine, i'm using an adaptation of a login that i found in the examples (code below), but i always get the same device with all of the accounts, i saw that there is a generate_deviceid() function with a seed argument within the Client class, but i'm not sure how to set it before connecting the Client, being that it is a class function. The code even gets the device_id when reusing auth settings, but again, not sure how to set a new id from the start.
Paste the output of
python -V
here:Code:
Error/Debug Log: