在 Instagram 中按地理坐标搜索位置 api
Search for a location by geographic coordinate in instagram api
使 instagram api 请求按纬度和经度搜索位置:
https://api.instagram.com/v1/media/search?lat=48.858844&lng=2.294351&access_token=MyTokenHere
它returns空数组:
{"meta": {"code": 200}, "data": []}
我的访问令牌设置为 public_content 范围。此外,在 Instagram 文档中它说沙箱是一个 "fully functional environment",我没有看到任何关于通过地理编码限制搜索的信息。
在沙盒模式下,您只会从您和您的沙盒用户那里获得 post。
在您 post 编辑照片的坐标处搜索,然后 API 响应将只有 post。上线后,您将看到所有用户的所有 post。
Data is restricted to sandbox users and the 20 most recent media from
each sandbox user
使 instagram api 请求按纬度和经度搜索位置:
https://api.instagram.com/v1/media/search?lat=48.858844&lng=2.294351&access_token=MyTokenHere
它returns空数组:
{"meta": {"code": 200}, "data": []}
我的访问令牌设置为 public_content 范围。此外,在 Instagram 文档中它说沙箱是一个 "fully functional environment",我没有看到任何关于通过地理编码限制搜索的信息。
在沙盒模式下,您只会从您和您的沙盒用户那里获得 post。
在您 post 编辑照片的坐标处搜索,然后 API 响应将只有 post。上线后,您将看到所有用户的所有 post。
Data is restricted to sandbox users and the 20 most recent media from each sandbox user