diff --git a/src/BirdsiteLive.Twitter/TwitterTweetsService.cs b/src/BirdsiteLive.Twitter/TwitterTweetsService.cs index 8d5c081..0a74296 100644 --- a/src/BirdsiteLive.Twitter/TwitterTweetsService.cs +++ b/src/BirdsiteLive.Twitter/TwitterTweetsService.cs @@ -67,7 +67,8 @@ namespace BirdsiteLive.Twitter JsonElement mediaExpension; tweet.RootElement.GetProperty("includes").TryGetProperty("media", out mediaExpension); - return tweet.RootElement.GetProperty("data").EnumerateArray().Select(x => Extract(x, mediaExpension)).ToArray().First(); + //return tweet.RootElement.GetProperty("data").EnumerateArray().Select(x => Extract(x, mediaExpension)).ToArray().First(); + return Extract( tweet.RootElement.GetProperty("data"), mediaExpension); } catch (Exception e) {