stanvanrooy / instauto

Simple to use wrapper around the private Instagram API, written in Python.
https://instauto.readthedocs.io
MIT License
103 stars 24 forks source link

Location search #215

Open muhammeddilaver opened 1 year ago

muhammeddilaver commented 1 year ago

Hi @stanvanrooy , Location search and searching for content posted in specific locations can be helpful. Thank you so much for everything

stanvanrooy commented 1 year ago

hey @muhammeddilaver, how would you like to see this implemented?

muhammeddilaver commented 1 year ago

Thank you for your interest @stanvanrooy Actually, I wrote two methods called search_location and location_posts_get for this job. I send string data about the location I am looking for to the search_location method, and by sending the id number of the location I choose from the return list to the location_posts_get method, I get the posts in a specific location. But although the next page id is coming in the location_posts_get method, I could not get the posts on the next page. Another problem is that the authentication system used here belongs to an old Instagram app. It keeps asking for authentication after a few requests. Can we analyze the private api of the new instagram app?