Skip to content

Instantly share code, notes, and snippets.

@mashud-rana
Last active September 8, 2021 05:52
Show Gist options
  • Save mashud-rana/84bd00633c1561ae28fe08f7c36ef430 to your computer and use it in GitHub Desktop.
Save mashud-rana/84bd00633c1561ae28fe08f7c36ef430 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
</head>
<body>
<div id="google-reviews"></div>
<link rel="stylesheet" href="https://cdn.rawgit.com/stevenmonson/googleReviews/master/google-places.css"/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/stevenmonson/googleReviews@6e8f0d794393ec657dab69eb1421f3a60add23ef/google-places.js"></script>
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&key=api_key&libraries=places""></script>
<script>
jQuery(document).ready(function ($) {
$("#google-reviews").googlePlaces({
placeId: "place_id", //Find placeID @: https://developers.google.com/places/place-id
render: ["reviews"]
});
});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment