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

Description Usage Arguments Value Examples

View source: R/wall.R

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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

Value

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

Examples

1
2
3
4
## Not run: 
wall <- getWall(domain='spbrug', count=10, progress_bar=TRUE)

## End(Not run)

vkR documentation built on Jan. 13, 2021, 10:09 a.m.

Related to getWall in vkR...