Answer the question
In order to leave comments, you need to log in
Does VKontakte have an analogue of Facebook's User.third_party_id?
Hello!
There is a task: to uniquely link a VKontakte user to an account in your own system. The use of the user ID is not allowed because it is available to other users and anyone, knowing the user ID, will be able to access his account.
On Facebook, there is a User.third_party_id parameter unique for each user, which can be obtained only for the user who was authorized.
How can you identify a VKontakte user without resorting to using his public ID? And, if it can't be done this way, are there other options?
Thank you.
Answer the question
In order to leave comments, you need to log in
In general, I solved the problem as follows:
1. The client application performs OAuth authorization in order to obtain an access token.
2. The access token is sent to our internal server, which accesses VKontakte and receives the user ID from the access token.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question