Why ok.ru does not give me the data?

Put a link on the button to login 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';

CIT and the network does not give information of the person
If to register so
$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';

all works norms , I need this id to pass via get , and other than as
June 27th 19 at 15:21
1 answer
June 27th 19 at 15:23
Solution
Need to do urlencode for the redirect_uri.

Find more questions by tags Classmates