Description Usage Arguments Details Value Author(s) References Examples
Returns a data.frame with publicly available information on all VK posts that mention a specific query.
1 | searchNewsfeed(query, access_token, start_time = NULL, end_time = NULL, verbose = FALSE)
|
query |
A string to search in VK posts. |
access_token |
Your access token (see ?makeAccessToken). |
start_time |
Start date and time (UTC) for posts to retrieve. If NULL (default), a day before the current moment is assumed. |
end_time |
End date and time (UTC) for posts to retrieve. If NULL (default), the current moment is assumed. |
verbose |
Boolean: suppress informational messages if FALSE (default). |
Time is specified as UTC.
A data.frame with information on posts and their attachments.
Denis Stukal denis.stukal@nyu.edu
VK API Methods: Newsfeed (https://vk.com/dev/newsfeed.search)
1 2 3 4 5 6 7 8 | ## Not run:
mytoken = 'XXXXXXXXXXXXXX'
newposts <- searchNewsfeed(query = 'moscow', access_token = mytoken,
start_time = '2018-04-22 00:00:00',
end_time = '2018-05-02 23:00:00')
str(newposts)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.