Orkut Application Platform

Activities: list

Requires authorization

Retrieves a list of activities. Try it now.

When listing, currently available views are always relative to a user (passed as the collection parameter):

1. "stream", which shows activities from the user's friends. Applications can only view the stream of the authenticated user.
2. "all", which shows activities created by the user that are visible to the authenticated user.
3. "scraps", which shows the user's scrapbook. Access controls apply, so the authenticated user will see public scraps, scraps to all friends if he or she is a friend of the target user, and private scraps if he or she is in the Access control list
for the scrap.

Request

HTTP Request

GET https://www.googleapis.com/orkut/v2/people/userId/activities/collection

Parameters

Parameter Name Value Description
Required Parameters
collection string The collection of activities to list.

Acceptable values are:
  • "all" - All activities created by the specified user that the authenticated user is authorized to view.
  • "scraps" - The specified user's scrapbook.
  • "stream" - The specified user's stream feed, intended for consumption. This includes activities posted by people that the user is following, and activities in which the user has been mentioned.
userId string The ID of the user whose activities will be listed. Can be me to refer to the viewer (i.e. the authenticated user).
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. Acceptable values are 1 to 100, inclusive.
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#activityList",
  "nextPageToken": string,
  "items": [
    activities Resource
  ]
}
Property Name Value Description Notes
kind string Identifies this resource as a collection of activities. Value: "orkut#activityList"
nextPageToken string The value of pageToken query parameter in activities.list request to get the next page, if there are more to retrieve.
items[] list List of activities retrieved.

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.