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

New Post: setup Tweetinvi API

$
0
0
Hi,

I would recommend that you read the twitter documentation.
The logic of Tweetinvi is that you have a credentials that are scoped to a Thread.

To set your credentials use the following line:
TwitterCredentials.SetCredentials("Access_Token", "Access_Token_Secret", "Consumer_Key", "Consumer_Secret");
To get tweets from the sample stream do the following:
var sampleStream = Stream.CreateSampleStream();
sampleStream.TweetReceived += (sender, args) => { Console.WriteLine(args.Tweet.Text); };
sampleStream.StartStream();
Please read the documentation and if you have further request let me know.

Linvi

Viewing all articles
Browse latest Browse all 4126

Trending Articles



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