Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
regression: load less tweets in feed to avoid rate limiting
Browse files Browse the repository at this point in the history
  • Loading branch information
harleyjones committed Apr 16, 2024
1 parent 8165f01 commit fbd75fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/group/_feed.dart
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ class _SubscriptionGroupFeedState extends State<SubscriptionGroupFeed> {
// Perform our search for the next page of results for this chunk, and add those tweets to our collection
var query = _buildSearchQuery(chunk.users);
TweetStatus result =
await Twitter.searchTweets(query, widget.includeReplies, limit: 20, cursor: searchCursor);
await Twitter.searchTweets(query, widget.includeReplies, limit: 10, cursor: searchCursor);

if (result.chains.isNotEmpty) {
tweets.addAll(result.chains);
Expand Down

0 comments on commit fbd75fc

Please sign in to comment.