是否有可能(以及如何)在任何 account/channel 上在 youtube 上留下评论?
Is it possible (and how) to get comments left on youtube on any account/channel?
我正在尝试使用此代码 https://www.googleapis.com/youtube/v3/comments?part=snippet&id=zwGBTcIHN0U&key={YOUR_API_KEY}
(显然使用正确的密钥)在随机频道、随机视频上获取评论,但结果是一个空列表:
{
"kind": "youtube#commentListResponse",
"etag": "\"tbWC5XrSXxe1WOAx6MK9z4hHSU8/pGLBhpjR05yQoJV31WoAx2PEFVw\"",
"items": []
}
除了官方文档,我找不到合适的文档:https://developers.google.com/youtube/v3/docs/comments/list#try-it
有什么帮助吗?
是的,您可以 commentThreads.list 使用 channelid and/or videoId 来获取线程,然后在该线程下获取评论。
您正在将示例中的 videoId 设置为 commentId 字段。
我正在尝试使用此代码 https://www.googleapis.com/youtube/v3/comments?part=snippet&id=zwGBTcIHN0U&key={YOUR_API_KEY}
(显然使用正确的密钥)在随机频道、随机视频上获取评论,但结果是一个空列表:
{
"kind": "youtube#commentListResponse",
"etag": "\"tbWC5XrSXxe1WOAx6MK9z4hHSU8/pGLBhpjR05yQoJV31WoAx2PEFVw\"",
"items": []
}
除了官方文档,我找不到合适的文档:https://developers.google.com/youtube/v3/docs/comments/list#try-it
有什么帮助吗?
是的,您可以 commentThreads.list 使用 channelid and/or videoId 来获取线程,然后在该线程下获取评论。
您正在将示例中的 videoId 设置为 commentId 字段。