`QuotedTweet.self_thread` is optional in syndication responses
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 88/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- react, typescript
- Domain
- api
Research direction
Start in packages/react-tweet/src/api/types/tweet.ts at the QuotedTweet definition and compare its required fields with the example syndication response in the issue. Verify the response shape for self_thread, then update the type so it accurately represents the API and run the relevant package checks or tests to confirm the type change.
Written by the indexing model from the issue text.
Description
react-tweet@3.3.1 requires QuotedTweet.self_thread to exist based on the type in tweet.ts.
However, the actual HTTP response doesn't have self_thread, as shown in the example below:
$ curl -fsSL https://react-tweet.vercel.app/api/tweet/1523695856074969088 | jq '.data.quoted_tweet.text'
"“It’s full of stars!” ✨\n\nThis mosaic represents a sparkling turning point as we #UnfoldTheUniverse. #NASAWebb’s mirrors are now fully aligned! Next is instrument calibration, the final phase before Webb is ready for science: https://t.co/PcAxajyMfI\n\nWhat do we see here? ⤵️ https://t.co/qzdZRbsgRF"
$ curl -fsSL https://react-tweet.vercel.app/api/tweet/1523695856074969088 | jq '.data.quoted_tweet.self_thread'
null
- Dominant language
- TypeScript
- Stars
- 1.9k
- Forks
- 119
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from vercel/react-tweet
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
vercel/react-tweet#213 ·
-
why entities is not iterable also it shows Cannot read properties of undefined (reading 'indices') Open
Difficulty 3/5 1-2 days Newbie friendliness 45/100
vercel/react-tweet#221 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
vercel/react-tweet#212 · 8 comments · 28 reactions ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
vercel/react-tweet#208 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
vercel/react-tweet#206 · 1 comment ·
All issues in vercel/react-tweet
Similar issues
-
comp/dashboard P3 type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
NousResearch/hermes-agent#117722 ·
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 76/100
-
code-quality refactoring
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·