0
내 응용 프로그램에 PHP Google MyBusiness API를 사용하고 있습니다. 비즈니스 리뷰가 있습니다.PHP를 사용하여 Google 검토 답장을받는 방법 내 비즈니스 API는 무엇입니까?
이제 특정 리뷰와 관련된 답글을 받고 싶습니다. 회신을 게시 할 수 있지만 PHP GMB API를 사용하여 검토를 위해 회신 (응답)을 받고 싶습니다.
어떻게해야합니까?
내 응용 프로그램에 PHP Google MyBusiness API를 사용하고 있습니다. 비즈니스 리뷰가 있습니다.PHP를 사용하여 Google 검토 답장을받는 방법 내 비즈니스 API는 무엇입니까?
이제 특정 리뷰와 관련된 답글을 받고 싶습니다. 회신을 게시 할 수 있지만 PHP GMB API를 사용하여 검토를 위해 회신 (응답)을 받고 싶습니다.
어떻게해야합니까?
는 검토가 어떻게 얻는 방법 PHP를 사용 Google_Service_MyBusiness_AccountsLocationsReviews_Resource
class Google_Service_MyBusiness_AccountsLocationsReviews_Resource extends Google_Service_Resource
{
/**
* Returns the specified review. This operation is only valid if the specified
* location is verified. Returns `NOT_FOUND` if the review does not exist, or
* has been deleted. (reviews.get)
*
* @param string $name The name of the review to fetch.
* @param array $optParams Optional parameters.
* @return Google_Service_MyBusiness_Review
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_MyBusiness_Review");
}
의 get 메소드를 사용하여 얻을 수 귀하의 회신을
more info
보유
reviewReply
객체를 가져 응답에 developers.google.com 참조 그것? https://developers.google.com/my-business/reference/rest/v4/accounts.locations.reviews/get –에서 reviewID, location 등을 전달하는 방법을 알지 못합니다. 이름 param이 reviewID라고 생각합니다. , 설명서가 명확하지 않습니다 – madalinivascu
알립니다. 감사. –