YouTube API无法使用

时间:2017-02-08 20:03:15

标签: php youtube-data-api

让我知道要拨打什么电话以及每次电话会产生什么费用,我一直在测试它们,看看它们都做了什么。
例如,这些都运作良好。

https://www.googleapis.com/youtube/v3/search?order=date&part=snippet&channelId={THE_CHANNEL_ID}&key={YOUR_API_KEY}
https://www.googleapis.com/youtube/v3/videos?part=snippet,statistics,contentDetails,status,player,topicDetails&id={VIDEO_ID}&key={YOUR_API_KEY}
https://www.googleapis.com/youtube/v3/playlistItems?part=id,snippet,contentDetails,status&maxResults=2&playlistId={PLAYLIST_ID}&key={YOUR_API_KEY}

然而,有些似乎不起作用。这在Google test page中很奇怪。

以下是那些对我不起作用的。

https://www.googleapis.com/youtube/v3/channels?part=brandingSettings,contentDetails,contentOwnerDetails,id,localizations,snippet,statistics,status,topicDetails&forUsername=Google&key={YOUR_API_KEY}
https://www.googleapis.com/youtube/v3/channelSections?part=id,snippet,contentDetails&channelId={THE_CHANNEL_ID}&key={YOUR_API_KEY}
https://www.googleapis.com/youtube/v3/activities?part=contentDetails,id,snippet&channelId={THE_CHANNEL_ID}&key={YOUR_API_KEY}
https://www.googleapis.com/youtube/v3/playlists?part=contentDetails,id,localizations,player,snippet,status&channelId={THE_CHANNEL_ID}&key={YOUR_API_KEY}

我有什么遗失的东西吗?

此外,所有通话都只是列表通话,而不是OAuth2.0通话。

=============================================== ======

更新:
看来他们现在正在工作 不知道为什么他们之前没有,但很高兴找到原因,可能是相关的。

0 个答案:

没有答案