private ExtractedTweet[] RetrieveNewTweets(SyncTwitterUser user)
        {
            var tweets = new ExtractedTweet[0];

            // Don't retrieve TL if protected
            var userView = _twitterUserService.GetUser(user.Acct);

            if (userView == null || userView.Protected)
            {
                return(tweets);
            }

            try
            {
                if (user.LastTweetPostedId == -1)
                {
                    tweets = _twitterTweetsService.GetTimeline(user.Acct, 1);
                }
                else
                {
                    tweets = _twitterTweetsService.GetTimeline(user.Acct, 200, user.LastTweetSynchronizedForAllFollowersId);
                }
            }
            catch (Exception e)
            {
                _logger.LogError(e, "Error retrieving TL of {Username} from {LastTweetPostedId}, purging user from cache", user.Acct, user.LastTweetPostedId);
                _twitterUserService.PurgeUser(user.Acct);
            }

            return(tweets);
        }
        private ExtractedTweet[] RetrieveNewTweets(SyncTwitterUser user)
        {
            ExtractedTweet[] tweets;
            if (user.LastTweetPostedId == -1)
            {
                tweets = _twitterTweetsService.GetTimeline(user.Acct, 1);
            }
            else
            {
                tweets = _twitterTweetsService.GetTimeline(user.Acct, 200, user.LastTweetSynchronizedForAllFollowersId);
            }

            return(tweets);
        }