-
Notifications
You must be signed in to change notification settings - Fork 268
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
Kindly need a snippet of code that function "GetFollowingStatus" or any equivalent #201
Comments
Hi, On main.tsx Line 239 you have the petition to the instagram api. However you will need to pass a lot of cookie and everything to be able to use it outside instragram.com. If you want to do this exact petition though postman, you will need to copy all the cookie and storage data. Probably if you do this step wrong you could get ban after some tryes. SO be careful. |
Thank you for your help I was able to get the API Just for further discussion: I also notice that the maximum number of followers that can be shown in a response is first":"50", would it be better than first":"24"?
|
This url is taken from when you scroll in you followers list, so in the day were 24 and I tried to clone the behaviour of that scroll but through an api to dont be detected as a bot. Maybe you wont have problem with 50 but be careful. Also i tried to day to see the url, and this one is not being use anymore, so maybe in a future this url stops working. As experiment you could try the new api url etc IN F12->Network-> and filter XHR Now there are 2 petition 1 for the user data and other one for the status of each ID |
I also experimented the current "scroll down" request. It even gives the maximum number of 200 follower per response which astonish me. More than 200 will return status code 400. However, this api do not shown the "following", "follower" status like the one you are using, so basically, it is useless for our use case. If the old api goes deprecate, it might take more requests to achieve the same results (Get the list of pk_id -> request each individual pk_id to get their following list -> match the first pk_id of the response with our account pk_id). Snippet of response of a following user using the current api
Edit: Another approach has come to my mind is to compare the follower list vs the following list. If the follower list also gives the maximum of 200 user per response like the following, it will dramatically reduce the number of requests. I have not yet test the follower API yet. Will try on tomorrow Another further discussion: the current following/follower API of Threads are showing mostly the same value as the Instagram API. Can this app be compatible with the new Threads API? If yes, I'd love to contribute (If I have time). |
Sorry for interrupt with such an annoying issue like this
I have been working with your app for many times and I can say that it is one of the best for social media marketing, etc
Currently, I am working on my personal project which talk directly to my server to archive the follower/following status of a single account
I wonder which snippet of code in this project you are using to know whether a person is followed us so I can integrate it to my project. Because the current code is somewhat obscure to me
Sincere,
Llydo1
The text was updated successfully, but these errors were encountered: