Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
The MIT License (MIT)
Copyright (c) 2016
Copyright (c) 2018

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom
the Software is furnished to do so, subject to the following
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom
the Software is furnished to do so, subject to the following
conditions:

The above copyright notice and this permission notice shall
The above copyright notice and this permission notice shall
be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
# node-red-contrib-twitter-stream
forked from https://github.com/mailsvb/node-red-contrib-twitter-stream

Changes from v1.4.0:
* Added ability to select logging level in the Node-RED console logs

node-red node for accessing the Twitter streaming API (based on https://github.com/desmondmorris/node-twitter/)

## Installation
npm -g install node-red-contrib-twitter-stream
npm -g install chuank/node-red-contrib-twitter-stream

## Features
- connect to the Twitter streaming API and get tweets of specific users (follow)
- connect to the Twitter streaming API and get tweets of specific topics (track)

## Configuration
- Get a Twitter dev account from https://dev.twitter.com
- Create a Twitter App on https://apps.twitter.com
Expand Down
34 changes: 22 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,33 @@
{
"author": {
"name": "Sven, mailsvb@gmail.com"
"name": "node-red-contrib-twitter-stream",
"version": "1.4.2",
"repository": {
"type": "git",
"url": "git+https://git@github.com/chuank/node-red-contrib-twitter-stream.git"
},
"homepage": "https://github.com/chuank/node-red-contrib-twitter-stream#readme",
"description": "node-red twitter streaming API node",
"name": "node-red-contrib-twitter-stream",
"keywords": [ "node-red", "twitter", "stream", "hashtags", "tweet" ],
"main": "twitter.js",
"dependencies": {
"twit": "*"
},
"node-red": {
"nodes": {
"twitter-stream": "twitter/twitter.js"
}
},
"license": "MIT",
"dependencies": {
"twit": "*"
"keywords": [
"node-red",
"twitter",
"stream",
"hashtag",
"tweet"
],
"author": {
"name": "Sven <mailsvb@gmail.com>"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mailsvb/node-red-contrib-twitter-stream.git"
"contributors": {
"name": "Chuan Khoo <khoo.chuan@gmail.com>"
},
"homepage": "https://github.com/mailsvb/node-red-contrib-twitter-stream#readme",
"version": "1.4.0"
"license": "MIT"
}
15 changes: 9 additions & 6 deletions twitter/twitter.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
});
</script>

<!-- Twitter streaming API -->
<!-- Twitter streaming API -->

<script type="text/x-red" data-template-name="Twitter Stream">
<div class="form-row">
Expand Down Expand Up @@ -82,10 +82,13 @@
<input type="checkbox" id="node-input-loadMedia" style="width:auto; vertical-align:top;">
<label for="node-input-loadMedia" style="width:auto;"> Load and include media in tweets</label>
</div>
<div class="form-row">
<label style="width:25%">Debug?</label>
<input type="checkbox" id="node-input-debug" style="width:auto; vertical-align:top;">
<label for="node-input-debug" style="width:auto;"> Enable debug logging</label>
<div class="form-row">
<label for="node-input-debug" style="width:25%">Debug?</label>
<select type="text" id="node-input-debug" style="width:25%">
<option value="2">Verbose</option>
<option value="1">Debug</option>
<option value="0">None</option>
</select>
</div>
<div class="form-row">
<label for="node-input-name" style="width:25%"><i class="icon-bookmark"></i> Node name</label>
Expand Down Expand Up @@ -120,7 +123,7 @@
topicRetweets: {value:false},
loadMedia: {value:false},
topicLanguage: {value:"en,de"},
debug: {value:false},
debug: {value:"0"},
name: {value:"",required:false},
},
color: "#4099fe",
Expand Down
Loading