diff --git a/packages/client-twitter/src/post.ts b/packages/client-twitter/src/post.ts index 24ec2e7768d..b194caec765 100644 --- a/packages/client-twitter/src/post.ts +++ b/packages/client-twitter/src/post.ts @@ -554,6 +554,9 @@ export class TwitterPostClient { const parsedResponse = parseJSONObjectFromText(rawTweetContent); if (parsedResponse?.text) { tweetTextForPosting = parsedResponse.text; + } else { + // If not JSON, use the raw text directly + tweetTextForPosting = rawTweetContent.trim(); } if (