测试Instagram Graph API停止返回媒体

时间:2019-03-02 11:00:44

标签: facebook-sdk-4.0 instagram-graph-api

我正在开发网站,所以我的fb应用处于开发模式,直到昨天一切正常。今天我不知道出了什么问题。

我使用页面令牌将我的Instagram商业帐户连接到我的页面:me?fields=connected_instagram_account。现在它告诉我:“字段为空或访问令牌不允许使用。”

然后我曾经使用过:

{Instagram ID}?fields=media.limit(10){comments_count,like_count,media_url,permalink,caption}

但是我没有Instagram ID了。

  • 所以我检查了我的Instagram是否确实连接到了我的Fb页面,并且确实如此。
  • 然后,我尝试重新生成访问令牌。一切看起来都很好。 enter image description here
  • 在我的应用程序中还需要“ Instagram的应用程序评论”,例如“ instagram_basic,instagram_manage_insights,但我的应用程序处于开发模式,因此不需要使用。此外,我无法添加提交内容,我没有隐私策略URL这样的东西。

哪里有问题??我只需要从Instagram帐户中获取媒体即可。

2 个答案:

答案 0 :(得分:1)

您似乎遇到了和我一样的问题。您是否已经尝试过解决我在问题中描述的问题的相同步骤?

Using Instagram Graph Api with permanent page access token only works for some accounts

答案 1 :(得分:0)

因此,从昨天开始,在这种情况下不能使用页面令牌,而只能使用用户令牌。我相信这是Facebook的错误。