我的代码使用最后一个 TweetInvi API 失败。为了使它工作,我必须将它与 AddTrack 结合起来。
以下代码仅在我取消注释“stream.AddTrack()”时才有效。
var stream = Stream.CreateFilteredStream();
stream.AddLocation(new Coordinates(-180, 90), new Coordinates(180, -90));
//stream.AddTrack("xbox");
stream.MatchingTweetReceived += (sender, args) =>
{
}