I’m having trouble with
I am trying to use @wix/comments to Edit or Update the Reactions, Vote Summary, and Ratings for comments, and I can’t see how to do this using the @wix/comments SDK API.
Working in
WIX Studio Editor
What I’m trying to do
I’m trying to display a custom comments repeater on my site. I can create a comment using the Create Comment API, and I can edit a comment using the Update Comment API.
When I retrieve the comments using List Comments By Resource API, the object includes fields for:
- ratings
- reactions
- voteSummary
In the native WIX Comments App, users can interact with the comment and update these.
-
Is there a way to programmatically update these details to include new user interactions?
-
Is there a way to see if the current logged in member is already included in the returned tally (so I can display the interaction on the live site)?
I have looked at the API docs and I can’t see any options to update the rating, reations, and voteSummary.
Any help would be much appreciated!