From 3ffb985f42216f6d06cbe82bc0c5a1e3aaad65b2 Mon Sep 17 00:00:00 2001 From: Vincent Cloutier Date: Sat, 26 Nov 2022 14:34:09 -0500 Subject: [PATCH] removed error --- src/BirdsiteLive.Twitter/TwitterTweetsService.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/BirdsiteLive.Twitter/TwitterTweetsService.cs b/src/BirdsiteLive.Twitter/TwitterTweetsService.cs index ab9f25c..2c935fb 100644 --- a/src/BirdsiteLive.Twitter/TwitterTweetsService.cs +++ b/src/BirdsiteLive.Twitter/TwitterTweetsService.cs @@ -135,6 +135,9 @@ namespace BirdsiteLive.Twitter foreach (JsonElement tweet in timelineElement.GetProperty("entries").EnumerateArray()) { + if (tweet.GetProperty("content").GetProperty("entryType").GetString() != "TimelineTimelineItem") + continue; + try {