getWallExecute {vkR}R Documentation

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

Description

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

Usage

getWallExecute(
  owner_id = "",
  domain = "",
  offset = 0,
  count = 10,
  filter = "owner",
  extended = "",
  fields = "",
  use_db = FALSE,
  db_params = list(),
  progress_bar = FALSE,
  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 (0 for all posts).

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

use_db

Use database

db_params

Collection name and suffix

progress_bar

Display progress bar

v

Version of API

Value

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

Examples

## Not run: 
# get all posts from wall
wall <- getWallExecute(domain='spbrug', count=0, progress_bar=TRUE)

## End(Not run)

[Package vkR version 0.2 Index]