-
Notifications
You must be signed in to change notification settings - Fork 1
Paginator does not work correctly #3
Comments
Twitter does not use pagination. You have to specify start point and all tweets are loaded automatically. |
When I try to list followers via |
I've got your point. Ok now the extension can support only statuses, because they are not under subarray. What i can do is to create some "map" for other type of lists or not return Paginator for this diiferent lists. |
Same problem here with users/search endpoint. IMHO should be better leave Paginator only for statuses or remove full Paginator... |
@jirinapravnik I have a solution (two paginators). It's little uggly (extending the extension), but it works. https://gist.github.com/studna/fe7f54f28b5dd58d38030a2a46a25972 |
@akadlec what solutions would you like to see? i would prepare PR for it |
Hmm...two options, full refactoring of paginating functions or use paginator on some endpoints |
I'm trying to paginate followers, but I can't figure it out because of response structure (list of followers is under 'users' key). Is there any easy solution to solve this?
Many thanks.
The text was updated successfully, but these errors were encountered: