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

New Post: Streaming API

$
0
0
Insafq wrote:
Hi,
peelypeel.

Why wont you try some simple code such as:
var tweet = Tweet.PublishTweet("TWEET SMTH");
Of couse you need proper tokkens and so on... And what have you tried so far?
Kind regards,
Insaf.
Thanks for the reply, but that wasn't really the main issue.

linvi wrote:
Hello here,

The fact that your program freezes is normal. When you use the Stream api you need to invoke it in a specific thread.

Please let me know if this is of any help.
Regards,
Linvi
Thank you Linvi, after a bit of play, that worked. It seams if I add a AddFollow after an AddTrack, both arguments are completely ignored, but if i have just an AddFollow, or just an AddTrack, it works. This isn't an issue for me right now, but wondered if that was meant to happen?

Thanks for the help

Crafty Edit:
P.s. I've read the Streaming API, and all the parts about disconnects, backing off and 420 codes etc. Does Tweetinvi deal with this, or will I need to write that myself?

Viewing all articles
Browse latest Browse all 4126

Trending Articles



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