I have a C# application that streams all tweets created by any of my friends successfully (using Tweetinvi library and following code).
var userStream = Tweetinvi.Stream.CreateUserStream();
userStream.TweetCreatedByFriend += (sender, args) =>
{
ConsoleLog(args.Tweet.Text);
}
How (if possible) can I listen to the tweets which mention any of my friends' screen name ? e.g. I am friend with @alice. Now @bob, who is NOT my friend, tweets like this:
Hi @alice, how are you ?
How can I listen to above tweet by @bob, who is NOT my friend, and MAY or MAY NOT be friend or follower of @alice?
You cannot do that. Or at least I don't think you can if you have too many friends. The only solution you currently I currently can see is to use the FilteredStream because it is a public stream and you can access tweets from users that your are not following.
If the list of followers you have is low enough you can do the following
As a result you'll be able to follow all the tweets containing @userScreenName from any user of Twitter.