Skip to content

Retrieve more tweets on search #240

@Teskann

Description

@Teskann

Describe the problem

Hi,

With current version, if you search tweets, you are limited to 25 tweets and cannot display more when you scroll down to the last one.

Describe the solution

If the "infinite scroll" is too hard to implement, I think an easy fix could le to use the parameter in searchTweets in lib/client/client.dart

  static Future<TweetStatus> searchTweets(String query, bool includeReplies, {int limit = 25, String? cursor, String? cursorType, bool leanerFeeds = false, RateFetchContext? fetchContext}) async 
                                                                                          ^

We could for example add an option to chose the number of tweets to get, which would default to 25.

What do you think?

Cheers

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions