![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
node-red-node-twitter
Advanced tools
Node-RED nodes to talk to Twitter.
The Twitter API will NOT deliver 100% of all tweets. This does NOT give access to the Twitter Firehose.
Tweets of who you follow will include their retweets and favourites.
Run the following command in your Node-RED user directory - typically ~/.node-red
npm install node-red-node-twitter
Provides two nodes - one to receive messages, and one to send.
Twitter input node. Can be used to search either:
Use space for and, and comma , for or when searching for multiple terms.
Sets the msg.topic
to tweets/ and then appends the senders screen name.
Sets msg.location
to the tweeters location if known.
When returning events it sets the msg.payload
to the twitter event, a full list is documented by
Twitter.
Sets msg.tweet
to the full tweet object as documented by Twitter.
Note: This node is not connected to the FireHose, so will not return 100% of all tweets to a busy @id or #hashtag.
Sets msg.tweet
to the full tweet object as documented by Twitter.
Note: when set to a specific user's tweets, or your direct messages, the node is subject to Twitter's API rate limiting. If you deploy the flows multiple times within a 15 minute window, you may exceed the limit and will see errors from the node. These errors will clear when the current 15 minute window passes.
Tweets the msg.payload
.
To send a Direct Message (DM) - use a payload like.
D {username} {message}
If msg.media
exists and is a Buffer object, this node will treat it as an image and attach it to the tweet.
If msg.params
exists and is an object of name:value pairs, this node will treat it as parameters for the update request.
FAQs
A Node-RED node to talk to Twitter
The npm package node-red-node-twitter receives a total of 593 weekly downloads. As such, node-red-node-twitter popularity was classified as not popular.
We found that node-red-node-twitter demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.