Pagination to have more than 20 elements in the response, after a search: mastodon Client.search().search Content(keyword).execute() #341
Replies: 4 comments 4 replies
-
The That said, I'm not sure if that method shouldn't use our |
Beta Was this translation helpful? Give feedback.
-
Hi @juniortestjr! Thank you for using BigBone. 😊 You can find the documentation and source code of that method in In Kotlin, we were able to define default parameters for all values but With the rest of your code effectively staying the same, you could do the following: First 20 results:
Next 20 results:
(mind the 20 as the last parameter—that’s the offset. Set that to 40 for the next 20, then 60, 80, …) |
Beta Was this translation helpful? Give feedback.
-
By the way: |
Beta Was this translation helpful? Give feedback.
-
it's OK ! , thanks to your help and advice, the pagination works. Thank you everyone ! great for your quick responses! |
Beta Was this translation helpful? Give feedback.
-
Thank you for developing the successor to the Mastodon project. I'm writing this message because I'm working on a project and I'm using this library to search for messages based on a keyword. Here is a part from my code :
the program works, but I receive a maximum of 20 elements (messages) each time. Apparently, normally there are more elements in response and maybe it's because there is pagination that I don't get more than 20 elements.
If so, I wonder how we can adjust the pagination?
Beta Was this translation helpful? Give feedback.
All reactions