|
@@ -245,11 +245,13 @@ class InstagramService implements SmmPlatformInterface
|
|
|
'access_token' => $accessToken,
|
|
|
];
|
|
|
$containerResponse = Http::timeout($this->timeout)->connectTimeout($this->connectTimeout)->asForm()->post("https://graph.instagram.com/v21.0/{$igUserId}/media", $postData);
|
|
|
+
|
|
|
+ Log::info("Instagram 创建视频的媒体容器完成:".$containerResponse->body());
|
|
|
$containerData = $containerResponse->json();
|
|
|
if (!isset($containerData['id'])) {
|
|
|
return ['status' => false, 'data' => '错误:无法创建视频容器 - ' . $containerResponse->body()];
|
|
|
}
|
|
|
- Log::info("Instagram 创建视频的媒体容器完成:".$containerResponse->body());
|
|
|
+
|
|
|
// Check container status (video processing may take time)
|
|
|
$status = 'IN_PROGRESS';
|
|
|
$maxAttempts = 10;
|