Answer the question
In order to leave comments, you need to log in
How to display the received token in the VK SDK on Android?
I am writing my first Android app and needed to get an access-token for further processing. Authorization passes, but so far it is not possible to withdraw it. Which class should be accessed and how to get its normal form?
Answer the question
In order to leave comments, you need to log in
I figured it out myself. In the VK SDK, the token is obtained from the GET parameters of the URL returned after authorization, whether through oAuth or through the native application.
To process the token, it is necessary to intercept it when executing the VKAccessToken tokenFromParameters function. It will be returned when calling parameters.get(ACCESS_TOKEN);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question