From 405bf3ec1b7265614837a38d28a6cb2178fa7787 Mon Sep 17 00:00:00 2001 From: Vincent Cloutier Date: Sat, 26 Nov 2022 14:43:43 -0500 Subject: [PATCH] fix retweet --- src/BirdsiteLive.Twitter/TwitterTweetsService.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/BirdsiteLive.Twitter/TwitterTweetsService.cs b/src/BirdsiteLive.Twitter/TwitterTweetsService.cs index 2c935fb..7f355e3 100644 --- a/src/BirdsiteLive.Twitter/TwitterTweetsService.cs +++ b/src/BirdsiteLive.Twitter/TwitterTweetsService.cs @@ -158,7 +158,8 @@ namespace BirdsiteLive.Twitter { MessageContent = tweet.GetProperty("content").GetProperty("itemContent") .GetProperty("tweet_results").GetProperty("result").GetProperty("legacy") - .GetProperty("retweeted_status_result").GetProperty("result") + .GetProperty("retweeted_status_result").GetProperty("result").GetProperty("core") + .GetProperty("user_results").GetProperty("result") .GetProperty("legacy").GetProperty("full_text").GetString(); string OriginalAuthorUsername = tweet.GetProperty("content").GetProperty("itemContent") .GetProperty("tweet_results").GetProperty("result").GetProperty("legacy")