|
@@ -144,6 +144,8 @@ class TwitterService implements SmmPlatformInterface
|
|
throw new Exception("Video file does not exist or is not readable: $videoPath");
|
|
throw new Exception("Video file does not exist or is not readable: $videoPath");
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ Log::info('twitter上传视频'.$videoPath);
|
|
|
|
+
|
|
// Upload video with chunked upload
|
|
// Upload video with chunked upload
|
|
$uploadedMedia = $this->twitterOAuth->upload('media/upload', [
|
|
$uploadedMedia = $this->twitterOAuth->upload('media/upload', [
|
|
'media' => $videoPath,
|
|
'media' => $videoPath,
|