J
J
Jony13372017-04-07 20:25:51
Classmates
Jony1337, 2017-04-07 20:25:51

Why doesn't ok.ru give me data?

I put this link on the button to enter through OK

$link_logare = 'http://www.odnoklassniki.ru/oauth/authorize?client_id=1246684928&scope=
VALUABLE_ACCESS%2CPHOTO_CONTENT%2CSET_STATUS&response_type=code&redirect_uri=
http://space-x.ru/example.php?id=1';

and op network does not give a person's data.
If you register like this
$link_logare = 'http://www.odnoklassniki.ru/oauth/authorize?client_id=1246684928&scope=
VALUABLE_ACCESS%2CPHOTO_CONTENT%2CSET_STATUS&response_type=code&redirect_uri=
http://space-x.ru/example.php';

then everything works fine, I need to pass this id through get , but otherwise not how

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Valery Ozhiganov, 2017-04-12
@Jony1337

You need to make a urlencode for the redirect_uri.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question