This project has moved and is read-only. For the latest updates, please go here.

Unable to use Count Property on Searches

May 21, 2013 at 8:39 AM
I've just started to use the library, but when I create the Search object, it doesn't seem to present a 'Count' property. For example, if I want to get the three latest tweets:
     using (var twitterCtx = new TwitterContext(auth))
        var query = twitterCtx.Search
           .Where(s => (
              (s.Type == SearchType.Search) &&
              (s.Query == "SEARCHSTRING") &&
              (s.Count == 3)   // Count property not available and will not compile

        return query.Results;
Can anyone tell me what I am missing/doing wrong?

May 21, 2013 at 8:44 AM
My mistake - I was using an older version of the library.

May 21, 2013 at 9:37 PM

Not a problem - glad you got it working. I've upgraded from Twitter API 1.0 to Twitter 1.1 over the last several months and a few things have changed. Hopefully for the better and I'm still chasing down an occasional loose end.