title: how to work with pagination using since_id and max_id in linqtotwitter v2.1?
body: <p>I had used linqtotwitter for fetching tweets from twitter. <br/>
  However i can pull tweets from only one shot at a time if i try to pull tweets using sinceid and maxid it returning empty and i'm also executing with range dates in query.
  with the below code i'm only able to get only 100 tweets.what i'm doing wrong<br> 
  Thanks</p>
  
  <p><strong>My code</strong> </p>
  
  <pre><code>var auth = new SingleUserAuthorizer
          {
              Credentials = new InMemoryCredentials
              {
                  ConsumerKey = "xxxxx",
                  ConsumerSecret = "xxxxx",
                  OAuthToken = "xxxxx",
                  AccessToken = "xxxxxxx"
              }
          };
          var twitterCtx = new TwitterContext(auth);
          var ownTweets = new List&lt;Status&gt;();
          ulong sinceId = 0;
          ulong maxID = 0;
          int lastStatusCount = 0;
          var dateFrom = DateTime.Now.AddDays(-20);
          bool flag = true;
          var statusResponse = new List&lt;Status&gt;(); 
  
          statusResponse = (from tweet in twitterCtx.Status
                                where tweet.Type == StatusType.User
                                      &amp;&amp; tweet.ScreenName == screenname
                                      &amp;&amp; tweet.Count == 100
                                      &amp;&amp; (tweet.CreatedAt &gt;= dateFrom &amp;&amp; tweet.CreatedAt &lt;= DateTime.Now)
                                select tweet).ToList();
  
          if (statusResponse.Count &gt; 0)
          {
              maxID = statusResponse.Min(status =&gt; ulong.Parse(status.StatusID)) - 1;
              ownTweets.AddRange(statusResponse);
              sinceId = Convert.ToUInt64(ownTweets.Last().StatusID);
          }
          do
          {
            int rateLimitStatus = twitterCtx.RateLimitRemaining;
            if (rateLimitStatus != 0)
            {
                statusResponse = (from tweet in twitterCtx.Status
                              where tweet.Type == StatusType.User
                                    &amp;&amp; tweet.ScreenName == screenname
                                    &amp;&amp; tweet.SinceID == sinceId &amp;&amp; tweet.MaxID == maxID
                                    &amp;&amp; tweet.Count == 100
                                    &amp;&amp; (tweet.CreatedAt &gt;= dateFrom &amp;&amp; tweet.CreatedAt &lt;= DateTime.Now)
                              select tweet).ToList();
  
  
                          lastStatusCount = statusResponse.Count;
  
                          if (lastStatusCount != 0)
                          {
                              maxID = statusResponse.Min(status =&gt; ulong.Parse(status.StatusID)) - 1;
  
                              ownTweets.AddRange(statusResponse);
                          }
                          else
                          {
                              flag = false;
                          }
              }
              else
              {
                  flag = false;
              }
  
          }
          while (flag);
  </code></pre>