-
Notifications
You must be signed in to change notification settings - Fork 215
Open
Description
I do not know what the problem is on the internet, I did not find anything that could help on this topic, the chatgpt said that the problem is probably on the internet (but everything is fine with it). Here is my code:
var userClient = new TwitterClient(consumerKey, consumerSecret, accessToken, accessTokenSecret);
long userId = id;
var stream = userClient.Streams.CreateFilteredStream();
stream.AddFollow(userId);
stream.MatchingTweetReceived += (sender, args) =>
{
Console.WriteLine("New Tweet");
};
//Tweetinvi.Exceptions.TwitterException: "Stream cannot be read." code -1
await stream.StartMatchingAllConditionsAsync();
I've been working on this problem for over a week now, and I just don't have any ideas how to solve it. In general, I only need to be able to receive notifications about new tweets from a specific user if there is another way, I will be grateful if you tell me
Metadata
Metadata
Assignees
Labels
No labels