diff --git a/src/BirdsiteLive.Twitter/TwitterTweetsService.cs b/src/BirdsiteLive.Twitter/TwitterTweetsService.cs index c4fcdc8..25e9339 100644 --- a/src/BirdsiteLive.Twitter/TwitterTweetsService.cs +++ b/src/BirdsiteLive.Twitter/TwitterTweetsService.cs @@ -67,7 +67,7 @@ namespace BirdsiteLive.Twitter var timeline = tweet.RootElement.GetProperty("data").GetProperty("threaded_conversation_with_injections_v2") - .GetProperty("instructions").GetProperty("entries").EnumerateArray(); + .GetProperty("instructions").EnumerateArray().First().GetProperty("entries").EnumerateArray(); return Extract( timeline.First() ); } diff --git a/src/BirdsiteLive.Twitter/TwitterUserService.cs b/src/BirdsiteLive.Twitter/TwitterUserService.cs index 11d6d22..1a8ca9a 100644 --- a/src/BirdsiteLive.Twitter/TwitterUserService.cs +++ b/src/BirdsiteLive.Twitter/TwitterUserService.cs @@ -68,10 +68,6 @@ namespace BirdsiteLive.Twitter //{ // throw new UserNotFoundException(); //} - //else if (e.TwitterExceptionInfos.Any(x => x.Message.ToLowerInvariant().Contains("Rate limit exceeded".ToLowerInvariant()))) - //{ - // throw new RateLimitExceededException(); - //} //else //{ // throw;