【问题标题】:Unable to delete a comment that is a reply to another comment using Youtube API V3无法使用 Youtube API V3 删除作为对另一条评论的回复的评论
【发布时间】:2015-10-21 06:51:10
【问题描述】:

我正在尝试删除 id 值为

的评论
z13gwx5polebffepe04ch34zhmvfg1czqlo0k.

请求返回如下错误:

{"error"=>
  {"errors"=>
    [{"domain"=>"youtube.comment",
      "reason"=>"processingFailure",
      "message"=>
       "The API server failed to successfully process the request. While this can be a transient error, it usually indicates that the requests input is invalid.",
      "locationType"=>"parameter",
      "location"=>"id"}],
   "code"=>400,
   "message"=>
    "The API server failed to successfully process the request. While this can be a transient error, it usually indicates that the requests input is invalid."}}

是否有不同的 API 端点来删除回复其他 cmets 的 cmets,或者是否有其他参数需要一起发送?从文档来看,只有 id 似乎是一个有效的参数。

【问题讨论】:

    标签: youtube-data-api


    【解决方案1】:

    要删除任何评论,您必须是该评论的评论者,或者您必须是已发表评论的视频的所有者。如果不是,则无法删除该评论。转到https://developers.google.com/youtube/v3/docs/comments/delete 并找到自己。

    【讨论】:

      猜你喜欢
      • 2016-05-29
      • 1970-01-01
      • 2016-08-27
      • 2015-08-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-04-14
      相关资源
      最近更新 更多