vkAuth {rvkstat} | R Documentation |
Authorization in 'Vkontakte'
Description
Allows you to get a token to access the API using the scheme Authorization Code Flow - https://vk.com/dev/authcode_flow_user
Usage
vkAuth(
username = getOption("rvkstat.username"),
app_id = getOption("rvkstat.app_id"),
app_secret = getOption("rvkstat.app_secret"),
api_version = getOption("rvkstat.api_version"),
token_path = vkTokenPath(),
reauth = FALSE,
skip_option = FALSE
)
Arguments
username |
Your vkontakte login. |
app_id |
Application ID, you can find it on the application settings page. |
app_secret |
Secure application key, you can find it on the application settings page. |
api_version |
API version. |
token_path |
Path to dir with credentials |
reauth |
boolean, do reauthorization if TRUE |
skip_option |
boolean, skip access token from options and environ variables if TRUE. |
Value
The list of credentials to work with the API Vkontakte
Author(s)
Alexey Seleznev
Examples
## Not run:
## Auth in VK
vkAuth(
username = 'your_login'
)
## End(Not run)
[Package rvkstat version 3.2.0 Index]