Hi guys, been racking my brains about this but couldnt really figure out a way to do this. So wanted to check with the community. I have a requirement to scrape user accounts based on location. Now, the instagram APIs does not seem to provide the location of a user, which makes this task fairly complicated imo. These are the approaches that I have thought of:
1. Scrape a profile's recent posts. If the posts are geo-tagged, then use that information to decide if the user is from the location I want. Downside is, not all posts are going to be geo-tagged. And the user maybe on vacation or something, instead of originally being from the location I want them to be from.
2. Scrape posts by locations. I believe this is possbiel. Then scrape the users who posted these posts or liked these posts. Downside is, again could be a lot of false positives.
3. Scan the bio of a profile and look for keywords for the locations that I am interested in. Again, downside is the dependency of a user having their location included in the bio.
Apart from these methods, are there any other more reliable approaches that I can follow to scrape instagram profiles based on location?
1. Scrape a profile's recent posts. If the posts are geo-tagged, then use that information to decide if the user is from the location I want. Downside is, not all posts are going to be geo-tagged. And the user maybe on vacation or something, instead of originally being from the location I want them to be from.
2. Scrape posts by locations. I believe this is possbiel. Then scrape the users who posted these posts or liked these posts. Downside is, again could be a lot of false positives.
3. Scan the bio of a profile and look for keywords for the locations that I am interested in. Again, downside is the dependency of a user having their location included in the bio.
Apart from these methods, are there any other more reliable approaches that I can follow to scrape instagram profiles based on location?