Skip to content

Commit

Permalink
chore(echo-tracker, laravel-twitch-client,laravel-x-client): use twit…
Browse files Browse the repository at this point in the history
…ch & x clients
  • Loading branch information
abenevaut committed Feb 9, 2025
1 parent e9b0efa commit 489c5ee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion laravel-x-client/src/Client/XAnonymousClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ public function getAccessToken(string $clientId, string $clientSecret): array
'grant_type' => 'client_credentials',
'client_id' => $clientId,
'client_secret' => $clientSecret,
'client_type' => 'third_party_app',
/*
* https://docs.x.com/resources/fundamentals/authentication/guides/v2-authentication-mapping
*/
'scope' => 'users.read tweet.read',
])
->throw()
Expand Down

0 comments on commit 489c5ee

Please sign in to comment.