Jelajahi Sumber

社媒对接

moshaorui 15 jam lalu
induk
melakukan
c98a214c0c
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      app/Services/Smm/YoutubeService.php

+ 2 - 2
app/Services/Smm/YoutubeService.php

@@ -31,8 +31,8 @@ class YoutubeService implements SmmPlatformInterface
         $this->client->setClientSecret(env('SSM_YOUTUBE_CLIENT_SECRET'));
         $this->client->setRedirectUri(env('DIST_SITE_URL').'/dist/callback/youtube');
         $this->client->setScopes([
-            Google_Service_YouTube::YOUTUBE_UPLOAD,
-        //    Google_Service_YouTube::YOUTUBE,
+        //    Google_Service_YouTube::YOUTUBE_UPLOAD,
+            Google_Service_YouTube::YOUTUBE,
         //    Google_Service_YouTube::YOUTUBE_FORCE_SSL,
         //    Google_Service_YouTube::YOUTUBE_READONLY,
         //    Google_Service_YouTube::YOUTUBEPARTNER,