質問編集履歴
1
エラー分でAPIのキーがそのまま表示されていたので修正しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
【エラー内容】
|
6
6
|
|
7
|
-
Warning: file_get_contents(https://www.googleapis.com/youtube/v3/search?key=
|
7
|
+
Warning: file_get_contents(https://www.googleapis.com/youtube/v3/search?key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&q=&type=video&part=snippet,id): failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden in D:\php\xu8x.com\test.php on line 20
|
8
8
|
|
9
9
|
|
10
10
|
|