Instagram无法找到在Facebook或Foursquare上创建的位置

时间:2015-05-26 07:28:20

标签: facebook facebook-graph-api location foursquare instagram-api

我有一个名为'Aenea Tattoo Studio'的Facebook和Foursquare地方 如果我

  • 在Instagram API /locations/search中使用其Facebook ID作为facebook_places_id=1594009447547294

  • 在Instagram API /locations/search中使用其Foursquare ID作为foursquare_v2_id=54fe044a498eb8d13d38b6bf

    我收到此回复:

    {   “数据”:[],   “meta”:{     “代码”:200   } }

意思是我在Instagram上没有链接到这个Facebook / Foursquare地方的位置。

如何创建Instagram位置,以便我的Facebook / Foursquare位置连接到新的Instagram位置?

1 个答案:

答案 0 :(得分:0)

不知何故,页面没有直接映射/索引到Instagram。虽然这个地方似乎已编入索引。

如果您从Facebook Place获取位置,然后使用该位置在Instagram中搜索,请使用以下呼叫:

https://api.instagram.com/v1/locations/search?lat=59.9129486&lng=30.2961197&distance=100

在结果中,您将看到:

{
  "latitude": 59.912869271,
  "id": "171453560",
  "longitude": 30.297031403,
  "name": "10-я Красноармейская ул."
},

我认为它与Facebook页面的地址相同。

我不确定是否保证所有Facebook页面/位置也应通过Instagram API提供;我会试着为你找到它。

关于Foursquare我不知道。希望其他人可以帮助你。