getWall function

Returns a list of posts on a user wall or community wall

Returns a list of posts on a user wall or community wall

getWall( owner_id = "", domain = "", offset = "", count = "", filter = "owner", extended = "", fields = "", v = getAPIVersion() )

Arguments

  • owner_id: ID of the user or community that owns the wall. By default, current user ID. Use a negative value to designate a community ID.

  • domain: User or community short address.

  • offset: Offset needed to return a specific subset of posts.

  • count: Number of posts to return (maximum 100).

  • filter: Filter to apply:

    • owner - posts by the wall owner;
    • others - posts by someone else;
    • all - posts by the wall owner and others (default);
    • postponed - timed posts (only available for calls with an access_token);
    • suggests - suggested posts on a community wall.
  • extended: 1 - to return wall, profiles, and groups fields, 0 - to return no additional fields (default).

  • fields: List of comma-separated words

  • v: Version of API

Returns

Returns a list of post objects. If extended is set to 1, also returns the following:

  • wall - Contains a list of post objects.
  • profiles - Contains user objects with additional fields photo and online.
  • groups - Contains community objects.

Examples

## Not run: wall <- getWall(domain='spbrug', count=10, progress_bar=TRUE) ## End(Not run)
  • Maintainer: Dmitriy Sorokin
  • License: GPL-3
  • Last published: 2020-09-29