*Please note, support of v3 of the API ended on March 10, 2018; v3 will no longer be available on May 10th 2018. So we encourage you to migrate to v4.1 as soon as possible to prevent any interruption in functionality. In addition, the deprecation schedule can be found here
You can get Google My business (GMB) reviews in same ways
Please find the below working code for review reply with PHP HTTP request
2 回答
如果Google已授权您使用Google Business API,那么您需要
通过OAuth验证用户身份 .
经过身份验证后会向您提供令牌,API会返回用户的帐户 .
现在要获取评论,您必须向https://mybusiness.googleapis.com/v4/accounts/ / locations / / reviews下的 endpoints 发送Http Get请求
您的Http Get请求必须具有访问令牌
例如:https://mybusiness.googleapis.com/.../reviews??access_token=
这将返回所有的评论 .
参考:https://developers.google.com/my-business/reference/rest/v4/accounts.locations.reviews
希望能回答你的问题 .
*Please note, support of v3 of the API ended on March 10, 2018; v3 will no longer be available on May 10th 2018. So we encourage you to migrate to v4.1 as soon as possible to prevent any interruption in functionality. In addition, the deprecation schedule can be found here
You can get Google My business (GMB) reviews in same ways
Please find the below working code for review reply with PHP HTTP request