Open
Description
The endpoint tweets/search/stream/rules (GET).
in Twitter API v2 supports pagination, but the encapsulating method v2.streamRules
doesn't support pagination.
Please observe that once the rules stored in Twitter API v2 pass 1,000 rules, pagination will be toggled, and here:
export declare type StreamingV2GetRulesResult = DataAndMetaV2<StreamingV2Rule[], SentMeta>;
Instead of SentMeta,
we should have PaginableCountMetaV2
.
Version
Node: v16.14.2
twitter-api-v2: 1.16.4
OS: macOS 13.5 (22G74)
Activity
rveitch commentedon Jul 1, 2024
I have run into this issue as well and am working around it for now, but would prefer to continue using this library instead of manual pagination.
PLhery commentedon Jul 2, 2024
Hello, this library is not actively maintained since elone takeover, but any PR is welcomed!