title: LinqToTwitter get Retweet status
body: <p>I am using the LinqToTwitter API and have the following problem.</p>
  
  <p>How can I get the information if I (the current user) have already retweeted a tweet though I can change the IsChecked Property on the ToggleButton for Retweet.</p>
  
  <p>I've already tried to get all tweets of one single Status to compare it with a List of tweetIDs which I've retweeted.</p>
  
  <pre><code>var publicTweets = await (from tweet in TweetContent.Connection.Status
                            where tweet.Type == StatusType.Retweets &amp;&amp;
                                  tweet.ID == TweetID
                            select tweet)
                            .ToListAsync();
  
  foreach (var publicTweet in publicTweets)
  {
      foreach (var myTweet in TweetContent.AllMyReTweets)
      {
          if (publicTweet.ID == myTweet)
          {
              // false means the ToggleButton is PreSet
              RetweetState = false;
              break;
          }
      }
  }
  // No hit
  RetweetState = true;
  </code></pre>
  
  <p>And the TweetContent.AllMyRetweets is defined here:</p>
  
  <pre><code> List&lt;ulong&gt; myList = new List&lt;ulong&gt;();
   var myRetweets = await (from retweet in TweetContent.Connection.Status
                           where retweet.Type == StatusType.RetweetsOfMe &amp;&amp;
                                 retweet.Count == 100
                           select retweet)
                           .ToListAsync();
  
  if (myRetweets != null)
  {
      foreach (var tweet in myRetweets)
      {
          myList.Add(tweet.ID);
      }
  }
  </code></pre>
  
  <p>I think this solution has two problems:</p>
  
  <ol>
  <li><p>It makes one API call for each tweet I want to display which means it can need a lot of time.</p></li>
  <li><p>I'll very quickly get a "Rate Limit exceeded" exception which tells me that this can't be the right way to do it.</p></li>
  </ol>
  
  <p>What is the best way to do this?</p>