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

No max_id showing api.user_followers #396

Closed
1 task
zachasman opened this issue Jul 18, 2022 · 2 comments
Closed
1 task

No max_id showing api.user_followers #396

zachasman opened this issue Jul 18, 2022 · 2 comments

Comments

@zachasman
Copy link

Which client are you using?

  • app (instagram_private_api/)

Describe the Bug/Error:

I am trying to create a function that loops in the max_id for the api.user_followers function so I can extract ALL of a users followers. But I'm not seeing where to pull the max_id from.


Paste the output of python -V here:

Code:

from instagram_private_api import Client, ClientCompatPatch
import ssl
import json

ssl._create_default_https_context = ssl._create_unverified_context

user_name = 'XXXX'
password = 'XXXXXX'

api = Client(user_name, password)
results = api.user_followers('20769740', rank_token=api.generate_uuid())
items = results.get('items', [])

Shouldn't there be a token for max_id at the end of running print(results) that I can then extract and use to pull all of this users followers?

If not, how exactly would that be done?

@zachasman
Copy link
Author

Figured it out

@Nivalam
Copy link

Nivalam commented Jan 7, 2024

I have the same issue, how did you solved it ?

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