나는 다음과 같은 구글 API를 PHP 클라이언트를 포함 할 때 나는, PHP에서 오류를 받고 있어요에없는 클래스 'GOOGLE_SERVICE'API 유튜브 -> 치명적인 오류 :
require_once '\google-api-php-client-master\src\Google\Client.php';
require_once '\google-api-php-client-master\src\Google\Service\youtube.php';
을 마찬가지로를, I autoload.php 다음과 같은 파일을 포함하려고 :
require_once '\google-api-php-client-master\src\Google\autoload.php';
그러나 다른 오류가 나타납니다 : 내가하려고
Fatal error: Uncaught exception 'Exception' with message 'This library must be installed via composer or by downloading the full package. See the instructions at https://github.com/google/google-api-php-client#installation
코드를 테스트는 다음 링크에 나타납니다
Https://developers.google.com/youtube/v3/code_samples/php
PD를 : 죄송합니다 나의 나쁜 영어
그러면 우선, 작곡가를 통해 설치했거나 전체 패키지를 다운로드 했습니까? 제공된 링크에서 지침을 읽었습니까? – CGriffin
https://github.com/google/google-api-php-client에서 전체 패키지를 다운로드했습니다. – Mvram