Profile.get_followers() is not getting 100% of followers
See original GitHub issueDescribe the bug After trying to fetch all the followers of accounts, I’ve seen it always lacks ~1 follower per each 200 followers. I’m not sure what is the problem cause it’s not showing any kind of exception when querying the data. I try looking manually on the IG web interface at the followers that aren’t being fetched and they are:
- Public
- Some are being followed by the account in question
- Some have been followers for more than 1 month
To Reproduce
username = 'username'
L = instaloader.Instaloader()
try:
L.load_session_from_file(username)
except instaloader.BadCredentialsException:
L.login(username, 'credentiales-password')
L.save_session_to_file()
except instaloader.TwoFactorAuthRequiredException:
L.two_factor_login()
L.save_session_to_file()
pipaslastres = instaloader.Profile.from_username(L.context, 'pipaslastres')
pipaslastres_cls = [f_cls for f_cls in pipaslastres.get_followers()]
pipaslastres_followers = [{'a': 'pipaslastres', 'f': f.username} for f in pipaslastres_cls]
len(pipaslastres_followers) # 1469
# real followers count according to IG interface = 1474
Expected behavior Download 100% of followers
Instaloader version 4.6.1
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Why You're Not Gaining Followers On Instagram + What To ...
It is important to reply to the comments you get because if you don't, your followers won't feel valued and won't keep doing...
Read more >How to Get Followers on Twitter in 8 Easy Steps - Neil Patel
100K followers is great — but not if they don't care about your business. 1. Optimize Your Twitter Profile to Attract Twitter Followers....
Read more >GET followers/ids | Docs | Twitter Developer Platform
GET followers /ids. Returns a cursored collection of user IDs for every user following the specified user. At this time, results are ordered...
Read more >5 Reasons Your Instagram Growth Is “Stuck” (And How To Fix It)
Being stagnant or “stuck” on Instagram is a sign that something needs to change. The first thing most social media managers, influencers and ......
Read more >Get More Real Instagram Followers in 10 Steps | Sprout Social
Before you worry about how to get followers, consider how your Instagram account is set up first. Ask yourself: does your profile “look...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I have added my date of birth in my account settings of Instagram. When executing your code snippet, all of the reported 1666 followers get fetched by
Profile.get_followers()
. Doing the same procedure with an Instagram account that is not age-verified, only 1646 followers get fetched.Not age-verified account:
Would you mind sharing your new observations? Do the numbers match?