This commit is contained in:
Vincent Cloutier 2022-11-27 11:33:52 -05:00
parent cde408413d
commit 068f0af344
2 changed files with 1 additions and 5 deletions

View file

@ -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() );
}

View file

@ -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;