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

Search Options

Nov 5, 2012 at 4: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 6:28 PM
Edited Nov 6, 2012 at 12:46 AM
This is a known issue that has been fixed. Current work around is to download code until release.

Nov 5, 2012 at 7:02 PM

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