Iterator<List<T>> interface, giving you a consistent hasNext() / next() loop across all paginated resources. Each call to next() fetches the next page from the API. Web paginators accept an optional cursor string for the initial page; mobile paginators manage cursor state internally.
Feed paginator
Iterate through posts on the logged-in user’s home feed.- Mobile
- Web
Post paginator
Iterate through posts on a user’s profile. Obtain aPostPaginator from a Profile instance.
- Mobile
- Web
Profile paginator
Iterate through a user’s followers or followings. BothgetFollowers and getFollowings return a ProfilePaginator that yields pages of Profile objects.
- Mobile
- Web
Comment paginator
Obtain aCommentPaginator from a Post instance to iterate through comments.
Message paginator (mobile only)
Obtain aMessagePaginator from a Thread instance to paginate through message history.
Hashtag paginator (web, no login required)
The web module includes aHashtagPaginator for browsing posts by hashtag without authentication. See public APIs for details.
Web paginators take an optional cursor
String — pass null for the first page. Mobile paginators manage cursor state internally and always start from the first page.