Hi,
I am not sure what you mean by streaming mentions.
If you want to get all the tweets with a specific mention I think you want to use the filteredstream:
If you want to receive all the tweets related with your account (friends/followers...) you can use the UserStream:
Is this of any help?
Linvi
I am not sure what you mean by streaming mentions.
If you want to get all the tweets with a specific mention I think you want to use the filteredstream:
var fs = Stream.CreateFilteredStream(); fs.AddTrack("@MENTION_USER_NAME"); fs.MatchingTweetReceived += (sender, args) => { // Mention detected! }; fs.StartStreamMatchingAllConditions();
var us = Stream.CreateUserStream(); us.TweetCreatedByAnyone += (sender, args) => { var mention = args.Tweet.UserMentions; if (mention != null) { if (mention.Any(x => x.ScreenName == "MENTION_USER_NAME")) { // The username has been detected within this tweet! } } }; us.StartStream();
Linvi