Skip to content

Support managing reviews in MyBusinessAccountManagement #2700

Closed
@zavan

Description

@zavan

Because the MyBusinessAccountManagement discovery document is incomplete (it doesn't describe the review management endpoints), this library doesn't support location review management.

I don't really know how that document works, or I'd create a PR myself.

Reference.

Right now I'm just using the auth part of the library:

import { google } from 'googleapis';

const client = new google.auth.OAuth2(
  config.googleClientId,
  config.googleClientSecret,
  config.googleRedirectUrl
);

client.setCredentials({
  access_token: tokens.accessToken,
  refresh_token: tokens.refreshToken,
  expiry_date: tokens.expiryDate,
  token_type: tokens.tokenType,
});

const url = `https://mybusiness.googleapis.com/v4/accounts/${accountId}/locations/${locationId}/reviews`;
const res = await client.request({ url });

Metadata

Metadata

Labels

priority: p3Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions