azu / azu/delete-tweets

Need to change Wait Value for new Twitter API

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Status: Proposal
Dominant language
TypeScript
Stars
30
Forks
4
PR merge metrics
No merged PRs in 30d

Description

# Need to change Wait Value for new Twitter API

https://github.com/azu/delete-tweets/blob/36e689ec53009331530867b8a3d3a640bbbf44b4/scripts/delete-tweets.ts#L104

Current Wait value:

- 500ms

Twitter API v2 rate limits:

- Free: 50 requests / 24 hours

We need to avoid this rate limit.
So, New wait value should be: 1728sec (24 hours / 50 requests)
1800sec is safe value. 1800/60sec = 30min.

Contributor guide

No contributing guide indexed for this repository

Research direction

Open scripts/delete-tweets.ts at the linked line and inspect how the current 500ms wait value is used. Update the wait to the requested safe value of 1800 seconds, then run the tool's available checks to confirm the delay configuration is accepted.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, cli
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.