Is it possible to get latest five google reviews from google places api?

本小妞迷上赌 提交于 2019-12-13 02:08:21

问题


I have developed a script to fetch and show google reviews using google places api. It fetches five reviews but not the latest.

Does google places api returns 5 random reviews or latest 5 reviews ?

Thanks


回答1:


as stated here : http://code.google.com/p/gmaps-api-issues/issues/detail?id=2477

"It's the top 5 reviews shown on Google+ Local, which I believe are ranked by relevance/helpfulness. It's not possible to change the set of reviews that are requested."




回答2:


Places API only returns 5 by default, if you apply for the GMB API and you manage verifies locations you can access the reviews on the account but this only works if you’re approved for the API and you authenticate to the business; alternatively you can always copy/paste or use a third-party service to fetch like Reviewsmaker; but there’s no other way of getting more than 5 returned with Places API, same thing with Yelp who also restricts you from fetching more than a capped number.



来源:https://stackoverflow.com/questions/15719205/is-it-possible-to-get-latest-five-google-reviews-from-google-places-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!