html 谷歌评论

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了html 谷歌评论相关的知识,希望对你有一定的参考价值。

<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=AIzaSyDeivU57j-macv2fXXgbhKGM6cqMLmnAFI&signed_in=true&libraries=places"></script>

<script>
jQuery(document).ready(function( $ ) {
   $("#google-reviews").googlePlaces({
        placeId: 'ChIJp2QxV_sJVFMR1DEp1x_16F8' //Find placeID @: https://developers.google.com/places/place-id
      , render: ['reviews']
      , min_rating: 4
      , max_rows:4
   });
});
</script>

<!--
To activate your key: Go to the Google API Console Dashboard 
(https://console.developers.google.com/apis/dashboard) 
and select from left menu “Library”, then “Google Maps 
JavaScript API”.  Then at the top, click “Enable this API”


Get your API-Key https://developers.google.com/places/web-service/get-api-key

Quelle: https://www.launch2success.com/guide/display-google-reviews-website-2017/#simple-guide

-->

以上是关于html 谷歌评论的主要内容,如果未能解决你的问题,请参考以下文章

html ralden - 谷歌 - 评论 - WP-头

html ralden - 谷歌 - 评论 - WP-COMPLETO

谷歌应用程序Ajax评论

留言讨论 「2020 谷歌开发者大会」拿精美礼品!

谷歌AI看不懂网友评论,会错意高达30%,网友:你不懂我的梗

如何使用python抓取谷歌地图