Quantcast
Channel: Tweetinvi a friendly Twitter C# library
Viewing all articles
Browse latest Browse all 4126

New Post: problems with Stream no events fired

$
0
0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Threading;
using System.Diagnostics;
using System.IO;
using Tweetinvi;
using Tweetinvi.Core.Enum;
using Tweetinvi.Core.Extensions;
using Tweetinvi.Core.Interfaces;
using Tweetinvi.Core.Interfaces.Controllers;
using Tweetinvi.Core.Interfaces.DTO;
using Tweetinvi.Core.Interfaces.Models;
using Tweetinvi.Core.Interfaces.Models.Parameters;
using Tweetinvi.Core.Interfaces.oAuth;
using Tweetinvi.Core.Interfaces.Streaminvi;
using Tweetinvi.Json;
using Stream = Tweetinvi.Stream;
using ADODB;
using System.Data.SqlClient;
    public Form1()
    {
        InitializeComponent();
    }
private void button1_Click(object sender, EventArgs e)
    {
TwitterCredentials.SetCredentials(accesstoken, accesssecret, consumerkey, consumersecret);
  TESTER();
}
     private void TESTER()
     {
         var us = Stream.CreateUserStream();
         us.TweetCreatedByAnyone += (sender, args) =>
         {
             Console.WriteLine(args.Tweet);
         };
         us.StartStream();

    }


Viewing all articles
Browse latest Browse all 4126

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>