From e907341d69647e53074d3582709f92a9e66dedd7 Mon Sep 17 00:00:00 2001 From: Nicholas O'Leary Date: Wed, 9 Oct 2013 20:18:09 +0100 Subject: [PATCH] Restore twitter in node topic --- nodes/social/27-twitter.html | 3 ++- nodes/social/27-twitter.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/nodes/social/27-twitter.html b/nodes/social/27-twitter.html index 29ae5a63d..223c42c4a 100644 --- a/nodes/social/27-twitter.html +++ b/nodes/social/27-twitter.html @@ -140,7 +140,8 @@ twitter: {type:"twitter-credentials",required:true}, tags: {value:"",required:true}, user: {value:"false",required:true}, - name: {value:""} + name: {value:""}, + topic: {value:"tweets"} }, inputs:0, outputs:1, diff --git a/nodes/social/27-twitter.js b/nodes/social/27-twitter.js index 576ea21e1..751ef2d65 100644 --- a/nodes/social/27-twitter.js +++ b/nodes/social/27-twitter.js @@ -30,7 +30,7 @@ function TwitterInNode(n) { this.user = n.user; this.tags = n.tags.replace(/ /g,''); this.twitter = n.twitter; - this.topic = n.topic; + this.topic = n.topic||"tweets"; this.twitterConfig = RED.nodes.getNode(this.twitter); var credentials = RED.nodes.getCredentials(this.twitter);