Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Enhancement: GPS locations #7

Open
nemec opened this issue Feb 8, 2022 · 1 comment
Open

Enhancement: GPS locations #7

nemec opened this issue Feb 8, 2022 · 1 comment

Comments

@nemec
Copy link

nemec commented Feb 8, 2022

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

@clayjacobs
Copy link

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.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants