我尝试使用tweetinvi在流媒体模式下关注特定用户。 我尝试使用我的推特账户测试AddFollow(发推文,看看是否能抓到) - 没有工作(BTW - AddTrack可以工作)
如何从tweetinvi的角度获取我的Twitter用户ID(http://mytwitterid.com/是正式的用户ID?
我还能怎样测试它 - 或者这里有什么问题?
var filteredStream = Stream.CreateFilteredStream();
filteredStream.AddFollow(myTwitterUserId);
filteredStream.MatchingTweetReceived += (sender, args) =>{
Console.WriteLine(args.Tweet.Text);};
Thread t = new Thread(() =>
{
// Start the stream matching any of the conditions
filteredStream.StartStreamMatchingAllConditions();
});
t.Start();