I am having trouble with search, it is not returning all the results.
string hashTag = "#Linq2TwitterIsSweet";
var twitterCtx = new TwitterContext();
.Where(search => search.Type == SearchType.Search &&
search.Query == hashTag &&
search.SinceID == sinceId)
if (queryResults.Count() == 0)
var tweets = new List<ITweet>();
.DoForEach(e => tweets.Add(TwitterModelMapper.CreateTweet(e))); // DoForEach -> custom extension method
I first post a few tweets containing "#Linq2TwitterIsSweet" and then preform the search (without the SinceID), and I find my tweets. However, if I do another post and search again, my new tweet is not found. What is strange is that queryResults.base.Refresh
= http://search.twitter.com/search.atom?since_id=<Id of last tweet>&q=<search term i was looking for>. And if I go to the Refresh URL with a browsers, I am able to find my new tweet, but queryResults.base.Entries.Count is equal
I have tired the search with search.HasTag = "Linq2TwitterIsSweet", with search.ShowUser and various combinations. I have also tired to use the same TwitterContext that I post the new tweet with.
Any ideas what is going on??