D
D
Dmitry Mayorov2021-02-10 20:22:26
Java
Dmitry Mayorov, 2021-02-10 20:22:26

How to properly implement UserActor?

Hello, who is able to explain to me how to implement the UserActor correctly, since I do not understand the documentation of this particular section. Here is the code given:

UserAuthResponse authResponse = vk.oAuth()
                .userAuthorizationCodeFlow(APP_ID, CLIENT_SECRET, REDIRECT_URI, code)
                .execute();
UserActor actor = new UserActor(authResponse.getUserId(), authResponse.getAccessToken());

I understood how to get APP_ID and CLIENT_SECRET, but I don’t understand how to get everything else. Explain step by step. After all, this is what websites are for.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question