How to get coordinates from photo/video?

Looking at the Instagram API, it looks like getting the location data from a photo is being phased out. My goal is to use a link to extract the location and coordinates from a post, but I can't do that with the basic API since Instagram files that data under "public_scope"

Has anyone found any workarounds?