我正在尝试编写一个C#应用程序来收集带有给定主题标签的推文。我正在使用tweetsharp库来帮助连接到twitter API,我正在使用StreamFilter方法。有人可以帮我弄清楚如何设置track参数来搜索特定的标签吗?
var service = new TwitterService(AppSettings.ConsumerKey, AppSettings.ConsumerSecret);
service.AuthenticateWith(AppSettings.AccessToken, AppSettings.AccessTokenSecret);
service.StreamFilter(StreamFilterHandler);
public void StreamFilterHandler(TwitterStreamArtifact artifact, TwitterResponse response)
{
var _response = JsonConvert.DeserializeObject(response.Response);
}