node-red / node-red/node-red-nodes

Tweet text length restricted 140 characters

Open
#464 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.1k
Forks
612
Avg merge
13h 57m
Merged PRs (30d)
3

Description

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)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Twitter node code that handles inbound tweets and reproducing the issue with text longer than 140 characters. Verify that the complete text is preserved in both msg.payload and msg.tweet.text rather than being truncated.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.