Legacy Google+ APIs have been shut down as of March 7, 2019. Changes to the shutdown plan have been made recently which may mitigate its effect on some developers. Learn more.

Google+ integrations for web and mobile apps have also stopped functioning as of March 7, 2019. Learn more.

Comments: insert

Requires authorization

Create a new comment in reply to an activity. Try it now.

Request

HTTP request

POST https://www.googleapis.com/plusDomains/v1/activities/activityId/comments

Parameters

Parameter name Value Description
Required parameters
activityId string The ID of the activity to reply to.

Authorization

To learn when scopes are required, see Google+ Domains scopes.

Scope
https://www.googleapis.com/auth/plus.stream.write

Request body

In the request body, supply a comment resource with the following properties:

Property name Value Description Notes
Required Properties
object.originalContent string The content (text) as provided by the author, stored without any HTML formatting. When creating or updating a comment, this value must be supplied as plain text in the request. writable

Response

If successful, this method returns a comment resource in the response body.

Try it!

Use the APIs Explorer below to call this method on live data and see the response. Alternatively, try the standalone Explorer.

Send feedback about...

Google+ Domains API
Google+ Domains API