J
J
Jony13372017-04-05 22:47:04
Classmates
Jony1337, 2017-04-05 22:47:04

Why doesn't ok.ru give me data if I pass data via get?

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
Vjacheslav Kanivetc, 2017-04-06
@Jony1337

Don't want to escape '?'

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question