では見られない、私は次のようにGoogleのAPIのPHPのクライアントを含めるしようとすると、私は、PHPのエラーを取得しています。同様にAPI YouTubeの - >致命的なエラー:クラスのGOOGLE_SERVICE "
require_once '\google-api-php-client-master\src\Google\Client.php';
require_once '\google-api-php-client-master\src\Google\Service\youtube.php';
、私は以下のよう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