diff --git a/social/twitter/27-twitter.html b/social/twitter/27-twitter.html index 1f304a0e..65f7a77b 100644 --- a/social/twitter/27-twitter.html +++ b/social/twitter/27-twitter.html @@ -34,7 +34,7 @@ } var callback = encodeURIComponent(location.protocol+"//"+location.hostname+":"+location.port+pathname+"twitter-credentials/"+twitterConfigNodeId+"/auth/callback"); $("#node-config-dialog-ok").button("disable"); - $("#node-config-twitter-row").html('
'); + $("#node-config-twitter-row").html(''); $("#node-config-twitter-start").click(function() { twitterConfigNodeIntervalId = window.setTimeout(pollTwitterCredentials,2000); }); diff --git a/social/twitter/27-twitter.js b/social/twitter/27-twitter.js index b3dbbfee..aa9c17f9 100644 --- a/social/twitter/27-twitter.js +++ b/social/twitter/27-twitter.js @@ -459,7 +459,7 @@ module.exports = function(RED) { "HMAC-SHA1" ); - RED.httpAdmin.get('/twitter-credentials/:id/auth', RED.auth.needsPermission('twitter.read'), function(req, res) { + RED.httpAdmin.get('/twitter-credentials/:id/auth', function(req, res) { var credentials = {}; oa.getOAuthRequestToken({ oauth_callback: req.query.callback @@ -478,7 +478,7 @@ module.exports = function(RED) { }); }); - RED.httpAdmin.get('/twitter-credentials/:id/auth/callback', RED.auth.needsPermission('twitter.read'), function(req, res, next) { + RED.httpAdmin.get('/twitter-credentials/:id/auth/callback', function(req, res, next) { var credentials = RED.nodes.getCredentials(req.params.id); credentials.oauth_verifier = req.query.oauth_verifier; diff --git a/social/twitter/package.json b/social/twitter/package.json index 5fb4ac7c..b96f7999 100644 --- a/social/twitter/package.json +++ b/social/twitter/package.json @@ -1,6 +1,6 @@ { "name" : "node-red-node-twitter", - "version" : "0.1.9", + "version" : "0.1.10", "description" : "A Node-RED node to talk to Twitter", "dependencies" : { "twitter-ng": "0.6.2",