您在哪里可以找到 Instagram API 的位置 ID?还是使用 LAT LNG?

Where can you find the location-id for Instagram's API? Or using LAT LNG?

查看 Instagram 的 API 文档,您可以根据 location-id 提取照片,但据我所知,没有关于在哪里可以找到此 ID 的说明。

这是 Instagram 上的相关页面:https://instagram.com/developer/endpoints/locations/

如果我仅使用 LAT 和 LNG 来获取地理位置(例如,使用 Google 地图),结果的精确度如何?会不会有些模糊?

如果您有纬度和经度,您可以使用此端点按地理坐标搜索位置。 https://api.instagram.com/v1/locations/search?lat=1&lng=2&access_token=Your-Act 您将获得地理坐标内的地点列表。 您也可以通过 Facebook 地点 ID 和四方 ID 搜索地点。