You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
as implemented right now, the function simply does not work as expected.
The function get_user_followers defined here does not return all followers.
According to the API documentation only 20 entries (default) but at maximum 100 entries are returned.
Possible Solutions:
Enhance the function to download all pages and collect all followers. BUT: In channels with many followers, the download of the complete list is not even useful. This could consum a huge amount of memory.
Remove the follower list and only grab the statistical data like for example number of followers. Add a function which enables the bot owner to download the information specific to a user. Done in the pull request here
Maybe someone has a better solution.
The text was updated successfully, but these errors were encountered:
i will look at those PR's when i can, as for the limitations, i was aware of them from the start, i just included all the json fields that the api returned.
IIRC, followers are a paged api, meaning it can eat up available api calls until it resets very quickly if called often.
Hello,
as implemented right now, the function simply does not work as expected.
The function get_user_followers defined here does not return all followers.
According to the API documentation only 20 entries (default) but at maximum 100 entries are returned.
Possible Solutions:
Maybe someone has a better solution.
The text was updated successfully, but these errors were encountered: