Orkut Application Platform

Comments: list

Requires authorization

Retrieves a list of comments, possibly filtered. Try it now.

A list of comments is always paginated. You can use the nextPageToken from one response to fetch the comments of the next page, passing it as pageToken, just like all other lists. maxResults controls the maximum number of items returned and defaults to 10.

Request

HTTP Request

GET https://www.googleapis.com/orkut/v2/activities/activityId/comments

Parameters

Parameter Name Value Description
Required Parameters
activityId string The ID of the activity containing the comments.
Optional Parameters
hl string Specifies the interface language (host language) of your user interface.
maxResults unsigned integer The maximum number of activities to include in the response.
orderBy string Sort search results.

Acceptable values are:
  • "ascending" - Use ascending sort order.
  • "descending" - Use descending sort order.
pageToken string A continuation token that allows pagination.

Authorization

This request requires authorization with at least one of the following scopes (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/orkut
https://www.googleapis.com/auth/orkut.readonly

Request Body

Do not supply a request body with this method.

Response

If successful, this method returns a response body with the following structure:

{
  "kind": "orkut#commentList",
  "nextPageToken": string,
  "previousPageToken": string,
  "items": [
    comments Resource
  ]
}
Property Name Value Description Notes
kind string Identifies this resource as a collection of comments. Value: "orkut#commentList"
nextPageToken string The value of pageToken query parameter in comments.list request to get the next page, if there are more to retrieve.
items[] list List of comments retrieved.
previousPageToken string The value of pageToken query parameter in comments.list request to get the previous page, if there are more to retrieve.

Try It!

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

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.