Answer the question
In order to leave comments, you need to log in
Odnoklassniki, creating a session?
There is a function in the API called getCurrentUser
https://apiok.ru/wiki/display/api/users.getCurrentUser
As far as I understand, to use it, it is enough to create a session with the application in classmates. Question - how to do it?
If I understand correctly, then creating a session and getting a token are not the same thing. Although one without the other is not real, this is understandable. I just saw an implementation for VK, when a person enters the site and the site greets him by name from the social network. No transitions were required for this.
Answer the question
In order to leave comments, you need to log in
If this application is inside the network (on the html / flash web portal or on the mobile html), then when it starts, all the necessary parameters for working with the API are passed to it, including the API session. We are already making requests with this session. https://apiok.ru/wiki/pages/viewpage.action?pageId...
If the application is external - external site, native mobile, etc. - then OAUTH authorization should be performed, the result will be an oauth session (token) and again API calls can be used.https://apiok.ru/wiki/pages/viewpage.action?pageId...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question