Provide sample for create abusive for comment

Former Member
Former Member

Hi Team,

I am trying to appeal the abusive for current comment. I have tried the following code.

var currentcomment=core_v2_comments.Get(context_v2_automationTrigger.Arguments.CommentId);

core_v2_abuseAppeal.Create(currentcomment.CommentId, currentcomment.CommentTypeId);

core_v2_abuseAppeal.Create is not creating the abusive comment.

Please help on this. Provide some sample for this.

Parents
  • When content is determined to be abusive, an appeal is created. The terminology is a little confusing, but the appeal is in the 'Initiated' state.

    To "appeal" from the user's perspective, the appeal for the content ID/type should be loaded and updated. Using the scripting API, this would mean:

    1. Load the appeal by using the core_v2_abuseAppeal.List API specifying the content ID (comment ID), content type (core_v2_comments.ContentTypeId), and appeal state of 'Initiated' -- use the first result if any are returned.
    2. Update the appeal using core_v2_abuseAppeal.RespondToAppeal API providing the user's response.
Reply
  • When content is determined to be abusive, an appeal is created. The terminology is a little confusing, but the appeal is in the 'Initiated' state.

    To "appeal" from the user's perspective, the appeal for the content ID/type should be loaded and updated. Using the scripting API, this would mean:

    1. Load the appeal by using the core_v2_abuseAppeal.List API specifying the content ID (comment ID), content type (core_v2_comments.ContentTypeId), and appeal state of 'Initiated' -- use the first result if any are returned.
    2. Update the appeal using core_v2_abuseAppeal.RespondToAppeal API providing the user's response.
Children
No Data