Skip to content

How to handle pagination #8

@roimulia

Description

@roimulia

Hey.
Let's assume I'm sending a request to Twitter API, and my goal is to fetch ALL of this specific user Tweets.
Twitter API liming me to 50 Tweets per request, but it also supply me a "pagination" URL for the next tweets, and so on and on until the "pagination" is empty. At that point I know that the API sent me all of this users tweets.
How exactly should I handle this scenario using this Network Layer? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions