Skip to content

[Help] limit of withRecentReactions #231

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
nmarko91 opened this issue Jun 30, 2022 · 3 comments
Open

[Help] limit of withRecentReactions #231

nmarko91 opened this issue Jun 30, 2022 · 3 comments

Comments

@nmarko91
Copy link

nmarko91 commented Jun 30, 2022

Hello,

I'd like to do similar to what slack does with comment, tap and hold a reaction and see more info of it - who are the users that reacted with that one.

Right now I have a feed & activities & using flags: EnrichmentFlags().withOwnReactions().withReactionCounts() I can see my own reactions + reactions count but no detailed info.

I have a couple of questions:

  1. As far as I understood to get the user info of reactions we will need to call withRecentReactions - however the default limit is 10, but is the max really 25 only?

  2. I also don't know how to offset this so after first 10 we get the next 10?

Is there maybe any other way build this, I'm probably missing something in the docs as its a common thing I assume getting only 25 latest seems a bit odd?

@guitoof
Copy link

guitoof commented Oct 20, 2022

Hello there,

I agree with @nmarko91 ... i find very strange to only be able to fetch 25 reactions for an activity. Is there any plan to remove this limit ? Any Feed showing some activities should expect a lot more than 25 reactions.

Thank you very much for your help

@PKeviin
Copy link

PKeviin commented Oct 31, 2022

Hello,

The Future<List<Reaction>> filter(...) (reactions_clients.dart) method contains a limit field which by default is 25.
I modified this field but the result still returns 25.

@PKeviin
Copy link

PKeviin commented Oct 31, 2022

Mb, the maximum limit is 25.

Doc : https://getstream.io/activity-feeds/docs/flutter-dart/reactions_introduction/?language=dart

You have to make several requests to get all the reactions. There are no alternative solutions according to the support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants