J
J
Janea Morari2017-06-02 18:27:51
Classmates
Janea Morari, 2017-06-02 18:27:51

OAuth and access_token in odnoklassniki API?

Hello, when working with 'Server OAuth authorization' there is a problem I
took the instruction from here https://apiok.ru/ext/oauth/server
the first part ' Opening the OAuth authorization dialog ' everything works fine
the second part ' Access rights permission
' I also receive without errors ' code '
further to get the token I use this link https://api.ok.ru/oauth/token.do?code={code}&clien... but with my parameters the
Request works, the question is how can I get access_token from my server via POST, which PHP script or javascript is needed, can't find help anywhere
if I paste the entire link into the address bar of the browser (it turns out that GET), an error will appear stating that only through POST

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Ivanov, 2017-07-23
@romalu

artdev.org/avtorizaciya-cherez-odnoklassniki.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question