From 5dd333285d69b45c3ce24555d015b7761ce68a40 Mon Sep 17 00:00:00 2001 From: kts Date: Sun, 17 May 2015 14:45:08 -0700 Subject: [PATCH] Inconsequential commit wherein handleFollow screams about a new follower. --- .gitignore | 1 + index.js | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index d344ba6..95b863a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ config.json +node_modules diff --git a/index.js b/index.js index 3b2f0aa..dc0a9bc 100644 --- a/index.js +++ b/index.js @@ -58,7 +58,10 @@ var handleTweet = function(tweet) { This function is called whenever the stream receives a 'follow' user event. This will trigger the activateUser for the given user_id. */ var handleFollow = function(event) { - console.log(event); + var id = event.source.id; + var name = event.source.name; + var screen_name = event.source.screen_name; + console.log(name+'/'+screen_name+'('+id+') has entered the game!'); }; /* handleUnfollow */