Currently we’re using comments feature and It’ll be good If our system can have same moderation as comments. Because some of our feature might require it.
Do you have any API that our system can use to moderate, or can you share the way to implement it?
For the comments moderation, Are you using ban word list from here * https://asc.amity.co/spam/blocklist?region=sg
If we want to submitComment from server side, is there a way to do? or any suggestion?
Comment can be created via our Admin API: [Swagger UI](https://api-docs.amity.co/#/Comment) - however the creator of the comment will be the admin who owns the token used to invoke the API.
For this one, is there a way to comment with API and make creator to be user that’s not admin (normal user)?
You would need to issue accessToken fromt he user instead - which can be done via Session Register api Swagger UI but this means you’ll need to do this everytime for every user - can you share more about your use case and specifically why do you need to create comment from the server instead of sdk?
Hi, I’m working with @tlezip
Our use-case is a feature where user sends a tip (money) to the author of the content. Ideally we don’t want to submit the comment until the payment has been completed and verified. The verification happens on server side.
Sounds like we can do this, we will give this a try:
- User sends their accessToken to server
- User completes the payment flow
- Server verifies the payment
- Server uses session register API to identify as the user
- Server submits the comment, including the tipping metadata (money amount etc)
Thank you for your help. If there’s some other better way to do this kind of feature, please let us know.