|
@@ -33,10 +33,10 @@ class YoutubeService implements SmmPlatformInterface
|
|
$this->client->setScopes([
|
|
$this->client->setScopes([
|
|
Google_Service_YouTube::YOUTUBE_UPLOAD,
|
|
Google_Service_YouTube::YOUTUBE_UPLOAD,
|
|
Google_Service_YouTube::YOUTUBE,
|
|
Google_Service_YouTube::YOUTUBE,
|
|
- Google_Service_YouTube::YOUTUBE_FORCE_SSL,
|
|
|
|
- Google_Service_YouTube::YOUTUBE_READONLY,
|
|
|
|
- Google_Service_YouTube::YOUTUBEPARTNER,
|
|
|
|
- Google_Service_YouTube::YOUTUBEPARTNER_CHANNEL_AUDIT
|
|
|
|
|
|
+ // Google_Service_YouTube::YOUTUBE_FORCE_SSL,
|
|
|
|
+ // Google_Service_YouTube::YOUTUBE_READONLY,
|
|
|
|
+ // Google_Service_YouTube::YOUTUBEPARTNER,
|
|
|
|
+ // Google_Service_YouTube::YOUTUBEPARTNER_CHANNEL_AUDIT
|
|
]);
|
|
]);
|
|
$this->client->setAccessType('offline');
|
|
$this->client->setAccessType('offline');
|
|
$this->client->setPrompt('consent');
|
|
$this->client->setPrompt('consent');
|