-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Max Besties Exceeded Error While Adding Followers to Close Friends List #1800
Comments
any updates on this? im also limited |
Unfortunately, I haven't found a workaround yet, but I'm still looking into possible solutions. If you come across any idea or updates on this, the do share! |
i think we should sniff traffic on mobile app (when in close friends section) to learn the new endpoint and request. |
i know there are people who can add more than 1m followers to close friends. |
you're getting this error: max besties exceeded , right |
Yes I'm getting the problem Ater 9999 followers, I also know people who added around 50k+ followers to the close friends list. And I saw on one forum, someone was saying that on desktop, the close friends list starts glitching after 9999 followers so you can't add more. So Sniffing traffic on the mobile app sounds like a good idea to explore any different endpoints or requests. |
I am able to do without problems. You are using old API, that has limit. |
Could you share how you managed to do it without any issues? Which API did you use ? |
It is hidden API. Can't share |
any updates here? |
I managed to solve |
Como resolver @marcelocardozo ? Me ajude estou precisando implementar. Como vc implementou ? |
hello, btw any of you have heard about this?
I got this from a paid service that is succefully adding more than 9999.
It halted for while and restarted, I have 52k followers and it added 10k until now. Once is completed I will post here. Looks like he is using a different approach, like emulating via website, not api. |
I’m Brazilian, and I have to say I’m ashamed of how some Brazilian developers operate. They join an open-source community only to try and sell an API endpoint they found. For example, Waldir, one of the devs asking here ( Shame on you, guys! I have no issue with people selling things, but if you want to do that, build a small website, promote it on Instagram, or whatever—I don’t care. But this is definitely not the place for it. I found a way to bypass the "max besties exceeded" restriction! The key is to add besties through an endpoint that appears when creating a story. Right after creating a story, tap the right arrow, then select Best Friends. This opens a new screen where you can edit the besties list. The endpoint used here seems to have no restrictions. I’ll dive deeper into this over the weekend. |
Be quiet. You sell courses promising wealth, and your opinion on the bypass is wrong; that’s not the right path. |
Absolutely agree with you on this. It's frustrating when people come into these open-source communities just to try and sell their stuff. I've also seen guys in the discussins claiming they have API endpoints, but when you ask about them, they say they’re private and can’t be accessed unless you DM them. And when you do, they tell you to purchase them even though you dont know if they work or not —lol, it's so ridiculous! There is this one guy everywhere in the Anyway, what you discovered seems really cool. I’m gonna also check it 🫠 |
@lhermoso @hamza08003 @DoubleTroubleOf I'm doing some research and found some endpoints from both the app and the web. Web Endpointdata = {
'variables': f'{{"add":[],"remove":"[12345678, 987654321]","source":"profile"}}',
'server_timestamps': 'true',
'doc_id': '7489805084467496',
}
response = requests.post(
'https://www.instagram.com/graphql/query',
cookies=cookies,
headers=headers,
data=data
) App Endpointdata = {
'module': 'audience_selection',
'source': 'story_share_shortcut',
'user_id': user_id,
'_uuid': '8c1bcc90-1663-436a-a4c4-5d8d39c6ce2c',
}
response = requests.post(
'https://i.instagram.com/api/v1/stories/private_stories/add_member/',
headers=headers,
data=data
) |
I believe that these types of guys go hungry at home trying to sell something that is free |
Did you manage to find a solution? @hamza08003 |
@guilhermecugler can you share the headers structure and how do you sniff the requests on mobile? |
You can use something like that:
The cookies can be from instagram web. |
@guilhermecugler Muito obrigado 🙏 |
To extract the follower ids, I am getting blocked after like 12,000 Here is the code:
Do you have any ideas on how to avoid getting blocked? |
You can try using this api bellow, im still researching but have no time lately, so i didnt test the limits, but with only 1 request you can have 500+ ids:
|
@guilhermecugler WOW, thanks What do you use for the research if you don't mind me asking |
Its kinda complex but basically, i use and android emulator + burp suite to intercept requests from an ssl bypassed instagram modified app with the proxy from burp, then I make actions on tha app and analyze the requests... |
@guilhermecugler How did you get the signature? Do you have instagram's private key? |
@guilhermecugler |
No need, you leave just: 'signed_body': 'SIGNATURE.' |
@guilhermecugler Ok, but I'm getting this error: {"errors":[{"message":"Unauthorized logged out query.","severity":"CRITICAL","code":1675002}],"extensions":{"is_final":true}} |
Do you have a solution? |
@guilhermecugler I used your method to sniff mobile packets and found a solution. Thanks a lot. |
you need user_id, csrftoken and sessionid correctly in the headers, you can use cookies from instagram web |
I will publish a new open-source repository with the best API for bulk adding/removing close friends with the best possible performance. |
I am providing an open-source repository with software to add/remove close friends. Here is the link: InstagramCloseFriendsManagerPython |
@guilhermecugler You did the right thing, but anyone who wants to pass on your project and profit from it will be huge 😅 |
Yeah... but I don't care. I only did it for my studies. |
@guilhermecugler my node version
response
|
change from "{ headers }" to "headers" in line 23:
|
@guilhermecugler thank you friend |
@guilhermecugler more generally this limit is very random here I am testing on an account with 8750 followers the problem starts when it reaches more or less when 7500 were added |
Max besties exceeded Error While Adding Followers to Close Friends List
Description
While adding followers to the close friends list, I encountered a
400 Bad Request
error with the message "max besties exceeded" after adding 9,999 followers. There were no issues during the process of adding followers in batches up to this point, but once the close friends list reached 9,999 users, the error consistently appeared. The error occurred after attempting to add more followers using thesetBesties
endpoint.The error encountered:
Relevant code section:
Key Details
The text was updated successfully, but these errors were encountered: