Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Supbutton

 Supbutton

Gordon Diggs

November 06, 2015
Tweet

More Decks by Gordon Diggs

Other Decks in Technology

Transcript

  1. dash.on("detected", function (dash_id) { client.get("users/show", { user_id: random_follower() }, function(err,

    data, response) { if(err) throw err; var name = data.screen_name, tweet = "@" + name + " Sup"; console.log(tweet); client.post('statuses/update', { status: tweet }, function(err, data, response) { if(err) console.log(err); }); }); });