# NOT RUN {
## auth
my_tok <- vkAuth(app_id = 1, app_secret = "H2Pk8htyFD8024mZaPHm")
## Get a list of cities for Ukraine, because Ukraine id = 2
vk_cities <- vkGetDbCities(country_id = 2,
access_token = my_tok$access_token)
## Get the list of cities for the search query "St."
vk_cities_search <- vkGetDbCities(country_id = 1,
q = "St.",
access_token = my_tok$access_token)
# }
Run the code above in your browser using DataLab