node-red-nodes icon indicating copy to clipboard operation
node-red-nodes copied to clipboard

Tweet text length restricted 140 characters

Open ghost opened this issue 7 years ago • 1 comments

Cross-post https://github.com/node-red/node-red/issues/1722#issuecomment-405422974 since I suppose this is the right place for it.

I installed Node-Red for the first time yesterday using the quick start instructions in this repo and I am experiencing the same problem.

What are the steps to reproduce? The Twitter node still has 140 characters as limit.

Update: This is for inbound tweets

What happens? msg.payload and msg.tweet.text are truncated at 140 chars

What do you expect to happen? All text should be passed through

Please tell us about your environment: Node-RED version: v.0.18.7 node.js version: v10.6.0 npm version: 6.1.0 Platform/OS: MacOS 10.13.5 High Sierra Browser: Chrome Version 67.0.3396.99 (Official Build) (64-bit)

ghost avatar Jul 17 '18 00:07 ghost

Also referred to in #443 - The underlying library is so old it doesn't support >140 chars... It all needs to be updated. Happy for anyone to take a look - PR.

dceejay avatar Jul 17 '18 08:07 dceejay