Skip to content

Does twitter-lite report the current status of rate limits, in order to get the count of the API requests remaining in the current time-window? #199

Open
@0xtetus

Description

@0xtetus

I'm using twitter-lite to periodically check the "followers" of 4 Twitter accounts. I know there's a rate limit for this operation, and since I'm creating a bot that people can trigger I want to make sure I don't hit the rate limit.

So just looking for a way to find out the number of requests I have left in each time-window. Is there a way to calculate this with twitter-lite or does Twitter API even report this number?

I'm open to any other ways or suggestions to tackle this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions