Inconsequential commit wherein handleFollow screams about a new follower.

master
kts 2015-05-17 14:45:08 -07:00
parent 99ccc692ba
commit 5dd333285d
2 changed files with 5 additions and 1 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
config.json
node_modules

View File

@ -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
*/