vkAuth | R Documentation |
Allows you to get a token to access the API using the scheme Authorization Code Flow - https://vk.com/dev/authcode_flow_user
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 )
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. |
The list of credentials to work with the API Vkontakte
Alexey Seleznev
## Not run: ## Auth in VK vkAuth( username = 'your_login' ) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.