I am trying to scrape accounts which are similar/related to a given account in instagram. Querying URLS: https://www.instagram.com/{username}/?_a=1 doesn't provide this information.
Any help is appreciated.
CodePudding user response:
If you want to list all followers and followings of a user, what I guess based of your question. aandergr made answered that in this question. If not let me know how you define "similar"
CodePudding user response:
A way to get this is from link: https://www.instagram.com/{username} and info comes as "edge_related_profiles":{"edges":[{"node":{".....}}]}
And to get this, we need to be authenticated to the site as a guest and should NOT be logged in. I am still investigating the reason of this but yes workaround is possible.