Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get_user_basic_details() not working when using multiple accounts #7

Open
OlegSavinov opened this issue Mar 23, 2024 · 1 comment
Open

Comments

@OlegSavinov
Copy link

OlegSavinov commented Mar 23, 2024

When trying to execute get_user_basic_details() form logged_in instance of InstaGPy - function works.
But when instance initialised with sessions from multiple accounts - doesn't.
I did a little investigation, function get_user_info returns in this case html instead of object.

Submitting isolated test screenshot, obviously nothing could be changed between cases - they were performed sequentially.

Screenshot 2024-03-23 at 18 30 15
@iSarabjitDhiman
Copy link
Owner

iSarabjitDhiman commented Apr 6, 2024

Yes, its quite normal. They block the guest users quite often. If you try to check an instagram user's profile in an incognito window (guest session) It will not work (if they blocked your IP, dont worry it gets back to normal after a week or so). If it works, then it will work with the script as well.
But if you are logged in, you shouldn't be facing any problems.

let me know if you have any other questions, otherwise feel free to close the issue.
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants