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

New Post: Getting raw json from streamed tweets

$
0
0
Hi there,

I think you will be pretty happy to know that I have added this feature in Tweetinvi 0.9.1.0 which is currently under the development lifecycle but should be released this weekend.
var fstream = Stream.CreateFilteredStream();
fstream.AddTrack("hello");
fstream.JsonObjectReceived += (sender, args) =>
{
    Console.WriteLine(args.Value);
};
fstream.StartStreamMatchingAllConditions();
Also please not that args.Value will be changed to args.Json on release.
You can get this version from the Source Code -> Development.

Regards,
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>