Table of contents
See it in Action
Check Out the Code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1255">
<script src="http://cdn.gigya.com/JS/socialize.js?apiKey=2_Y82PzwJ_chSFImHXaIDJClnLyJzmk-VFOavSsaNTzl6m901s_NNxRAS0xJ3bd3_N"
type="text/javascript"></script>
</head>
<body>
<h2>Rating & Reviews Demo</h3>
<h3>The Rating Plugin:</h3>
<div id="ratingDiv" ></div>
<br/><br/><br/>
<h3>The Review (Comments) Plugin:</h3>
<div id="commentsDiv" ></div>
<script type="text/javascript">
// Present the Rating plugin
var ratingsParams =
{
categoryID: 'ReviewsWiki', // Comments category ID (from Comments Setup page)
streamID: 'ReviewsTest',
containerID: 'ratingDiv', // <div> ID in which to present the plugin
linkedCommentsUI: 'commentsDiv' // link the Ratings plugin to the Comments plugin.
//The '# reviews' link becomes an anchor to the Comments plugin on the page.
}
gigya.socialize.showRatingUI(ratingsParams);
// Present the Comments plugin
var commentsParams =
{
categoryID: 'ReviewsWiki', // Comments category ID (from Comments Setup page)
streamID: 'ReviewsTest',
containerID: 'commentsDiv'
}
gigya.socialize.showCommentsUI(commentsParams);
</script>
</body>
</html>
Note:
In order to make this code work in your environment, please:

Comments