Use the add_like_dislike” value in “action” parameter to mark the media as like/Dislike. Additionally, developers can pass any other optional parameter provided in the table below to get the required result set.


This method requires User Context be set before calling it. And like other APIs either use VIDIZMO JS Login API before calling this method or use VIDIZMO Web Login method and additionally pass "access_token" parameter to set User Context.


Request



Parameters


Parameter 

Description

mashup_id

Id of a media, you want to like or dislike.

is_like If you want to like a media than pass “true” and in case of dislike pass “false”


Response

 

{
  "status": 1,
  "status_code": 200,
  "message": "Thank you for rating"
}



To learn more how these Widgets work, click here on VIDIZMO Web API Library.

For a complete list of VIDIZMO APIs, click here on VIDIZMO Developer APIs.