Hi again, I've gotten the hang of using Linq to Twitter and have successfully managed to use it in one of my WP projects. However I've run into quite a snag with my current project wherein I'm searching for tweets between two people (from A to B and
vice versa). Using the following code I can get tweets from my friend's Twitter account to mine, but not the other way around.
var FromToContext = new TwitterContext();
var FromToQuery =
(from search in FromToContext.Search
where search.Type == SearchType.Search &&
search.PersonFrom == From &&
search.PersonTo == To
select search).AsyncCallback(tweets => Dispatcher.BeginInvoke(() =>
var results = tweets.ToList();
TweetsList.ItemsSource = null;
TweetsList.ItemsSource = tweets.Single().Results;
I've also tried searching for tweets from the Twitter accounts of my other friends (by setting just the PersonFrom or the PersonTo) just to test, both on a Console app and the WP, but even if the account isn't protected sometimes it doesn't return anything.
The resulting query always has a count of 0.
Any help or insight on this issue is most appreciated. And thank you for answering my question last time.