S
S
Stepan2021-07-09 21:52:12
API
Stepan, 2021-07-09 21:52:12

How to generate an API token in vk.cc?

For vk.cc, the usual token from vk admin, vk api, etc. is not suitable. After a day, you can’t check the statistics of clicks on a private link, it writes - access is denied. Therefore, you need to create your own token using the Authorization Code Flow.
Judging from the documentation on the link , you need to create a Standalone application. I created it with an id, say, 12345678. Next, get a token, for this I made a link: https://oauth.vk.com/authorize?client_id=12345678
& display=page&redirect_uri= https://oauth.vk.com/blank.html &scope=offline& response_type=token
I received a token, but it stopped working after a day. How then can I get a user token to generate a shortened vk.cc link normally?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Puma Thailand, 2021-07-10
@opium

so apparently it needs to be regenerated once a day, what's the problem then? this is done automatically in a second

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question