To achieve this functionality, you could make use of the Twitter API and Webhooks. Here are the general steps you would need to follow:
Tweetinvi
.Here is some sample code to get you started:
main.cs1320 chars35 lines
Note that this is just a basic example and you will need to modify it to fit your specific use case, such as adding error handling and processing the tweet content itself.
gistlibby LogSnag