Thanks for your help i have tried that also, but no events fired, it looks like this now and still doesnt work
var credentials = TwitterCredentials.CreateCredentials(accesstoken, accesssecret, consumerkey, consumersecret);
TwitterCredentials.ExecuteOperationWithCredentials(credentials, () =>
{
var us = Stream.CreateUserStream();
us.StartStream();
EventsRelatedWithTweetCreation(us);
});
private static void EventsRelatedWithTweetCreation(IUserStream us)
{
us.TweetCreatedByAnyone += (sender, args) =>
{
Console.WriteLine(args.Tweet);
};
}
↧
New Post: problems with Stream no events fired
↧