instaloctrack icon indicating copy to clipboard operation
instaloctrack copied to clipboard

Enhancement: GPS locations

Open nemec opened this issue 3 years ago • 1 comments

Hi, in your blog post you mention that Instagram removed GPS from photos. This is mostly true, but Instagram does list GPS coordinates for the Location that a user selected. It is not a precise location, but it should save time geocoding the data yourself. This may only work if you are logged in to Instagram (it does for me, but I have heard others can get data without logging in).

Example: https://www.instagram.com/p/CXeIWI0IpYh/ If I search for "lat" in the source code it will show the geocoded location (lat/lng) for Rouen.

Screenshot from 2022-02-08 05-41-27

Another alternative, in case the above does not work for you: add ?__a=1 to the post URL and you get JSON that shows the info:

https://www.instagram.com/p/CXeIWI0IpYh/?__a=1 Screenshot from 2022-02-08 05-44-37

nemec avatar Feb 08 '22 11:02 nemec

This seems to no longer be a function.

Both the additional at the end of the URL and searching for "lat" in the source code yield no results. Would love to know if you have an updated solution.

clayjacobs avatar Apr 25 '23 11:04 clayjacobs