Answer the question
In order to leave comments, you need to log in
How to get an e-mail after authorization through the Odnoklassniki API?
Good afternoon. I use this construction:
$key_temp = '********************';
$sig = md5('application_key=' . $key_temp . 'fields=' . $fields .'method=users.getCurrentUser' . md5($this->api->access_token . $this->api->client_secret)) ;
$response = $this->api->api( '?application_key=' . $key_temp . '&fields=' . $fields .'&method=users.getCurrentUser&sig=' .$sig);
In $response I get everything I need, except for the user's e-mail. How to get it?
Answer the question
In order to leave comments, you need to log in
To obtain an address, the application must have rights to EMAIL.
But to get such a right is very unlikely for obvious reasons.
However, you can try to request via tech support, describing the use case
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question