moshaorui 12 ساعت پیش
والد
کامیت
08c0dd271c
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      app/Services/Smm/TwitterService.php

+ 1 - 1
app/Services/Smm/TwitterService.php

@@ -31,7 +31,7 @@ class TwitterService implements SmmPlatformInterface
     public function login()
     {
         $redirectUri = env('DIST_SITE_URL') . '/dist/callback/twitter';
-        $scopes = ['tweet.read','tweet.write','dm.write', 'users.read', 'offline.access','media.write']; // 需要的权限范围
+        $scopes = ['tweet.read','tweet.write','users.read','offline.access','media.write']; // 需要的权限范围
         $oauthState = bin2hex(random_bytes(16));
         $authUrl = 'https://twitter.com/i/oauth2/authorize?' . http_build_query([
                 'response_type' => 'code',