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

New Post: Best practice for keeping streams alive

$
0
0
Your message:

Hello!
I find examples, none works for me!
I need a working example or documentation more explicit ..
This is my code and does not work
Token string = "xxxxxxxxxxxxxxxx";
TokenSecret string = "xxxxxxxxxxxxxxx";
Consumerkey string = "xxxxxxxxxxxxxxx";
ConsumerSecret string = "xxxxxxxxxxxxxxxxx";
TwitterCredentials.SetCredentials (Token, TokenSecret, Consumerkey, ConsumerSecret);
Stream.CreateSampleStream sampleStream = var ();
sampleStream.TweetReceived + = (sender, args1) => {Console.WriteLine (args1.Tweet.Text); };
sampleStream.StartStream ();
Where am I wrong?
Thanks!

Viewing all articles
Browse latest Browse all 4126

Trending Articles



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