[英]I can't find a list of tweet that contains a specific word c# linqtotwitter
I have to find a list of tweet that contains a specific word giving by the user. 我必须找到一条推文列表,其中包含用户给出的特定单词。 I didn't find the specific function to do this.
我没有找到执行此操作的特定功能。
I tried the following but it didn't work: 我尝试了以下操作,但没有成功:
public List<Status> TrouverMot()
{
var srch =
(from search in MainPage.twitterCtxProp.Status //a voir!
where search.Type ==StatusType.User &&
search.Text.Contains(MainPage.texte)
select search).ToList();
List<Status> liste = new List<Status>();
liste = srch;
return liste;
}
What can I do? 我能做什么?
您可以在LinqToTwitter API中使用此方法: http ://linqtotwitter.codeplex.com/wikipage?title=Searching%20Twitter&referringTitle=Performing%20Searches%20and%20Finding%20Trends
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.