Search Options

Nov 5, 2012 at 3:00 PM

Hi there, 

I just updated LinqToTwitter for my project and now I seem to have issues with the page argument when searching. My code looks like this:

var queryResults = (
                        from search in twitterCtx.Search
                        where search.Type == SearchType.Search &&
                            search.Query == options.query &&
                            search.PageSize == options.rpp &&
                            search.WithRetweets == options.retweets &&
                            search.Page == i + 1
                        select search);
When executing the code I always get an exception saying the page parameter is invalid. When leaving out the search.Page option it just runs fine. What am I doing wrong? 

Nov 5, 2012 at 5:28 PM
Edited Nov 5, 2012 at 11:46 PM
This is a known issue that has been fixed. Current work around is to download code until release.

Nov 5, 2012 at 6:02 PM

Okay, thanks a lot for the quick reply! :)