N
N
nexusmedia2015-06-11 14:45:42
Classmates
nexusmedia, 2015-06-11 14:45:42

Is it possible to get the user's email during OAuth authorization through Odnoklassniki?

Good afternoon,
I am developing an application for login through social. networks for e-commerce platform Shopify, incl. integrate and Odnoklassniki. For Shopify, e-mail is a key field that serves to identify the user, but the Odnoklassniki API does not return an email address (or I could not find the right method).
Can you please tell me if this is possible, or email is basically not available through the API?
Thanks
Denis

Answer the question

In order to leave comments, you need to log in

5 answer(s)
N
none111, 2015-06-26
@none111

Something the developers are not very itchy with the answer ...
I'll add a little to the question. In the docs on the page
of OAUv-authorization it is written that when requesting the code, you can specify the list of requested rights apiok.ru/wiki/pages/viewpage.action?pageId=81822109 = 81822097 , sort of like, a list of all available rights /api/fields+ru
, where "GET_EMAIL permission is required" is specified to receive email? What is this, an undocumented access right? Or, in principle, it is impossible to receive an email, then why is this field present in the list?
ZY And in general, without transfer of email your API is useless. How to identify a user in your system? When registering, ask not only to indicate the email, but also the ID in classmates ?! That's bullshit.

K
kotkerk, 2017-12-05
@kotkerk

After that, write to technical support

and bypassing this step, it is impossible to manage in any way?
well, i.e. only specify additional parameters. in your request
, well, it’s insanity, write to technical support and wait for no one knows how long the answer will be (and it’s not a fact that the answer will be positive)
and besides, the script that I am writing assumes that other users will use it, which in fact is not you need to know where and to whom to write in order for the script to work - upload files to the site via FTP, register the keys in the settings and everything should work
. The script involves registration / authorization through several social networks. networks, of which VK, Facebook, Google+, Yandex, Telegram have already been added,
and all of them send an email field in the responsewithout dancing with tambourines, just specifying it in the permissions of the application (and in some cases, in general, it gives the mail by default)

V
Valery Ozhiganov, 2015-11-11
@vozhiganov

Similar question: Why doesn't the users.getCurrentUser method in the Odnoklassniki API return an email?
To receive the user's email, it is necessary that we confirm this on our part.
Such a procedure is a small barrier on which we are trying to understand what the user's email is for and whether it is possible to somehow do without it.

N
nexusmedia, 2015-11-11
@nexusmedia

Valery Ozhiganov Valery, ok, but how can I contact you to confirm (or not confirm) this for our application? As far as I understand, the only way is through this forum, but I've been waiting for an answer for half a year :) Is it possible to contact you by e-mail? Thank you!

F
freeeeez, 2017-07-27
@freeeeez

Need to request GET_EMAIL in scope and fields=email when getting user information. After that, write to technical support [email protected] with a request to unblock access to Email.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question