我正在尝试删除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端点可以删除回复其他注释的注释,或者是否需要发送另一个参数?从文档中,只有id似乎是一个有效的参数。
答案 0 :(得分:1)
要删除任何评论,您必须是该评论的评论者,或者您必须拥有已完成评论的视频的所有者。如果您不是,则无法删除该评论。转到https://developers.google.com/youtube/v3/docs/comments/delete找到你自己。