vkGetUserWall {rvkstat} | R Documentation |
Get Posts From Userwall.
Description
Return posts list from userwall 'Vkontakte'.
Usage
vkGetUserWall(
user_id = NULL,
domain = NULL,
filter = NULL,
username = getOption("rvkstat.username"),
api_version = getOption("rvkstat.api_version"),
token_path = vkTokenPath(),
access_token = getOption("rvkstat.access_token")
)
Arguments
user_id |
user ID for which you want to get a list of friends. If the parameter is not specified, it is considered that it is equal to the identifier of the current user. |
domain |
short address of user or community. |
filter |
determines what types of posts on the wall should be received. Possible values: suggests — suggested entries on the community wall, postponed — deferred entries, owner — owner wall entries, others — not wall owner entries, all — all entries on the wall (owner + others), Default: all. |
username |
Your vkontakte login. |
api_version |
Vkontakte API version. |
token_path |
Path to dir with credentials |
access_token |
API access tokens obtained using vkAuth or vkGetToken functions |
Value
Date frame with the following values:
1. id |
record ID. |
2. from_id |
identifier of the post author. |
3. to_id |
identifier of the owner of the wall on which the entry is placed. |
4. date |
post publication time |
5. post_type |
record type, can be one of the following values: post, copy, reply, postpone, suggest. |
6. text |
text entry. |
7. can_delete |
information about whether the current user can delete a post (1 — maybe, 0 — cannot). |
8. comments_count |
number of comments. |
9. likes_count |
the number of users who liked the post. |
10. reposts_count |
number of users who copied the record. |
11. attachment_type |
type of media attachment of the record (photos, links, etc.) |
Author(s)
Alexey Seleznev
References
Documentation for API method wall.get: https://vk.com/dev/wall.get
Examples
## Not run:
## auth
my_tok <- vkAuth(app_id = 1, app_secret = "H2Pk8htyFD8024mZaPHm")
## get posts
my_vk_wall <- vkGetUserWall(user_id = 7437995,
access_token = my_tok$access_token)
## End(Not run)