Coder Social home page Coder Social logo

mailsvb / node-red-contrib-twitter-stream Goto Github PK

View Code? Open in Web Editor NEW
1.0 4.0 4.0 180 KB

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

License: MIT License

HTML 44.35% JavaScript 55.65%

node-red-contrib-twitter-stream's Issues

Unhandled error crashes node-red

I have a feeling this issue runs deep but occasionally this node will cause node-red to crash with the following error:

Error: unexpected end of file
at Zlib._handle.onerror

allowinput to dynamically edit the users and topics

I have a requirement where a number of end-user need to change on a daily basis the list of users and topics that needs to be folllowed/tracked.
In the same idea as the node-red-contrib-msg-router, have an input which allows to add/remove/reset the topics and/or users on-the fly
In my case having a short time during which tweets are not received because the stream is rebuild would be acceptable

Uncaught Exception / Type Error: Cannot read property 'client' of null

An unhandled error is causing Node-Red to crash and preventing it restarting. This seems to occur if the Twitter Consumer Key is deleted or if there is a problem reading it during startup. This occurred on a Windows 10 machine.

The command line console shows error [red] Uncaught Exception: followed by:

TypeError: Cannot read property 'client' of null
at Timeout.TwitterStream.setInterval [as _onTimeout] (C:\Users\virtarch\.node-red\node_modules\node-red-contrib-twitter-stream\twitter\twitter.js:90:51).

The last entry in the Node-Red console if the app crashed while running reads: "Error: Twit config must include 'consumer_key' when using user auth."

It would be great to have this exception handled without the entire Node-Red app fall over. Without that I think sharing flows with this node on github without including the Twitter app credentials could be an issue.

favorites/list support

Any chance to add favorites/list support ? its basically same as user timeline but shows only tweets that given user liked/fav.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.