Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

I'm just curious to know what the programming mechanics behind it are - more & more, when I tweet or RT something, I get a "mentioned you" spam back almost instantly.

This account is not following me, so what technique are they using to detect that my account has just tweeted?

share|improve this question
    
Your mentions also won't arrive with people who aren't following when you are protected, double edged sword –  Richard Sep 26 '13 at 1:27
    
@Richard Except then you have to approve follows. –  Cole Johnson Dec 11 '13 at 17:09

1 Answer 1

up vote 4 down vote accepted

They use the Streaming API in order to get a real-time feed of all Tweets containing certain words, expressions or hashtags (it's like a real-time search), then they can retweet or reply if they want to. If you don't want unauthorized people to see your Tweets, then change your account to Protected in your Account settings; that will only allow people who follow you (and who you accepted - they can't directly follow you, only send you a follow request) to see your tweets - they won't appear in any public search or in the streaming API.

share|improve this answer

protected by Community Jun 18 at 11:26

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.