如何使用图表API在Facebook页面上的评论上发表评论

问题描述 投票:0回答:1

我想在评论中发表评论。我正在尝试使用评论ID获取评论,但没有来自fb graph api的数据返回。

这是我用来获取所有评论的图形api查询:https://graph.facebook.com/v3.2/613053785834585/?fields=ratings%7Bopen_graph_story%7D&access_token=accesstoken

我的结果是:

    {
      "ratings": {
        "data": [
          {
            "open_graph_story": {
              "id": "1301773496640266",
              "message": "improve some more quality not as per standards.......",
              "start_time": "2019-04-08T13:24:47+0000",
              "type": "sellers.rates",
              "data": {
                "recommendation_type": "negative",
                "review_text": "improve some more quality not as per standards.......",
                "is_hidden": false,
                "language": "en",
                "seller": {
                  "id": "613053785834585",
                  "title": "Developer Zone",
                  "type": "profile",
                  "url": "https://www.facebook.com/DeveloperZoneKrishan/"
                },
                "has_review_update": false
              }
            }
          },
          {
            "open_graph_story": {
              "id": "1151783264995390",
              "message": "This review for testing, Please ignore it.",
              "start_time": "2019-04-03T13:21:56+0000",
              "type": "sellers.rates",
              "data": {
                "recommendation_type": "positive",
                "review_text": "This review for testing, Please ignore it.",
                "is_hidden": false,
                "language": "en",
                "seller": {
                  "id": "613053785834585",
                  "title": "Developer Zone",
                  "type": "profile",
                  "url": "https://www.facebook.com/DeveloperZoneKrishan/"
                },
                "has_review_update": false
              }
            }
          }
        ]
      },
      "id": "613053785834585"
    }

现在我想收到评论发布在上次评论的ID是1151783264995390,使用:https://graph.facebook.com/v3.2/1151783264995390/comments?access_token=accesstoken

但这会像这样返回空:

{
    "data": []
}

我希望它会返回在特定评论(example)上发布的评论数据。

facebook-graph-api facebook-c#-sdk
1个回答
0
投票

这很可能是Facebook方面的一个漏洞。 Facebook开发者门户网站目前有一些关于此问题的未解决问题:

https://developers.facebook.com/support/bugs/2262278433989990

https://developers.facebook.com/support/bugs/334315677220267

© www.soinside.com 2019 - 2024. All rights reserved.