Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to handle pagination #8

Open
roimulia opened this issue Jun 16, 2017 · 0 comments
Open

How to handle pagination #8

roimulia opened this issue Jun 16, 2017 · 0 comments

Comments

@roimulia
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant