Need a tool that auto replies to a users tweets within seconds

Code:
api_key = <key>
api_secret=<secret>

acc = twitter_libary.auth(api_key, api_secret)

twitter_library.stream_connect(acc, ["profile_1", "profile_2", ...], notify)

function notify(acc, profile){

   tweet = get_tweet_for_profile(profile);
   twitter_library.tweet(profile, tweet)

}

Not really worth $1500 IMO

Proof it works?
 
Proof it works?
It was just psuedocode, but that is how simple it is to use the stream API, if you have the dev keys. It is very simplistic, in reality you need to handle disconnects, rate limits / error responses etc, filtering on the tweets received, using tokens / automentions whatever in the reply. But still, it is not complicated
 
Back
Top