Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/clojure/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Can';t通过CommentThreads:list从Youtube视频中检索一些评论_Youtube_Youtube Api_Youtube Data Api - Fatal编程技术网

Can';t通过CommentThreads:list从Youtube视频中检索一些评论

Can';t通过CommentThreads:list从Youtube视频中检索一些评论,youtube,youtube-api,youtube-data-api,Youtube,Youtube Api,Youtube Data Api,请使用Youtube API提供帮助。CommentThreads:列表不会给出所有TopLevelComments。我找到了几个缺少的注释ID 示例:按URL正确打开注释: https://www.youtube.com/watch?v=hySk1m57PAQ&lc=z12jjlsjrlmsgp4lu23rhxbgmrenxl5py04 ,, 但抛出API函数此commentID不返回任何数据: https://www.googleapis.com/youtube/v3/commen

请使用Youtube API提供帮助。CommentThreads:列表不会给出所有TopLevelComments。我找到了几个缺少的注释ID

示例:按URL正确打开注释:

https://www.youtube.com/watch?v=hySk1m57PAQ&lc=z12jjlsjrlmsgp4lu23rhxbgmrenxl5py04
,, 但抛出API函数此commentID不返回任何数据:

https://www.googleapis.com/youtube/v3/commentThreads?maxResults=99&alt=json&part=id%2Csnippet&key=<...key...>&textFormat=plainText&id=z12jjlsjrlmsgp4lu23rhxbgmrenxl5py04
https://www.googleapis.com/youtube/v3/commentThreads?maxResults=99&alt=json&part=id%2Csnippet&key=&textFormat=plainText&id=z12jjlsjrlmsgp4lu23rhxbgmrenxl5py04

这是怎么回事?如何获得此评论?

我已经测试了您的示例,它最初没有加载到评论中。在哪里可以从commentThreads->list中获取此commentID?我已经测试了您的示例,它最初没有加载到注释中。从哪里可以从commentThreads->list获得此commentID?