Skip to content

Open-source social media scheduler built for AI agents and the teams behind them. Create, schedule and publish posts to every network through MCP or the REST API, or write them yourself in a composer your team will love.

fix: TikTok add missing scopes + send empty body to creator_info endpoint

Paulo Castellano1129205c22ca
diff --git a/app/Http/Controllers/Auth/TikTokController.php b/app/Http/Controllers/Auth/TikTokController.php
index 3be174a79..a283f7c94 100644
--- a/app/Http/Controllers/Auth/TikTokController.php
+++ b/app/Http/Controllers/Auth/TikTokController.php
@@ -23,7 +23,10 @@ class TikTokController extends SocialController
protected array $scopes = [
'user.info.basic',
'user.info.profile',
+ 'user.info.stats',
'video.publish',
+ 'video.upload',
+ 'video.list',
];
public function connect(Request $request): Response|RedirectResponse
diff --git a/app/Services/Social/TikTokPublisher.php b/app/Services/Social/TikTokPublisher.php
index 3de19220e..0e39595e5 100644
--- a/app/Services/Social/TikTokPublisher.php
+++ b/app/Services/Social/TikTokPublisher.php
@@ -69,7 +69,7 @@ class TikTokPublisher
private function queryCreatorInfo(): array
{
$response = $this->getHttpClient()
- ->post("{$this->baseUrl}/post/publish/creator_info/query/");
+ ->post("{$this->baseUrl}/post/publish/creator_info/query/", []);
if ($response->failed()) {
Log::warning('TikTok creator_info query failed', ['body' => $this->redactResponseBody($response->body())]);