質問編集履歴
1
エラー分でAPIのキーがそのまま表示されていたので修正しました。
title
CHANGED
|
File without changes
|
body
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
一日のうち少しの時間だけエラーとならない時があるのですが、大半がエラーとなります。
|
|
2
2
|
|
|
3
3
|
【エラー内容】
|
|
4
|
-
Warning: file_get_contents(https://www.googleapis.com/youtube/v3/search?key=
|
|
4
|
+
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
|
|
5
5
|
|
|
6
6
|
おそらくユニットが少ない設定なのかと思って設定で割り当てを最大値にして更新したりしてるのですがエラーが無くなりません。
|
|
7
7
|
|