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

New Post: Windows Form App Help

$
0
0
Hi, currently using the library for a console app and would like to convert it into a windows form application. Is there any examples of the source code with a windows form?

Specifically having trouble with displaying tweets in a text box

Methods Im using: Filter stream, and process tweet.
Filter stream goes to process tweet with- stream.StartStream(token, x => ProcessTweet(x));

But when i run it as a win form app i get a 401 error unauthorized
Process tweet has a filter for screen names and
textBox1.Text = tweet.Creator.ScreenName + " :-->> " + tweet.Text;


Everything works fine as a console program but the windows form gets and error from the StreamResultsGenerator.cs

if (_lastException != null && StreamStopped == null)
        {
             throw _lastException;
        }
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>