如何获得特定推文的回复

时间:2016-01-06 18:12:12

标签: c# twitter linq-to-twitter

我试图收到特定推文的回复。

此代码可帮助我获取最后一条推文,但我无法获得用户对此推文的回复。

var ctxTwitterContext = new TwitterContext(auth);

var srch = (from search in ctxTwitterContext.Search
            where search.Type == SearchType.Search
               && search.Query == "to:" + "ScreenName" + " OR from:" + "ScreenName"
               && search.Count == 1
            select search).SingleOrDefault();

0 个答案:

没有答案