M
M
Michael Zakharenkov2015-06-23 11:20:02
Classmates
Michael Zakharenkov, 2015-06-23 11:20:02

How to request permission EVENTS in social. Odnoklassniki networks (FAPI.UI.showPermissions doesn't work)?

Cannot correctly use the FAPI.UI.showPermissions method for the EVENTS privilege. Instead of a normal window, the client receives
72d6801063a0db16ebb1910df0b4fd95.png
If the “Allow” button is clicked, the corresponding permission is not set, when trying to call via REST notifications.sendSimple, an error 10 is returned ('PERMISSION_DENIED : User must grant an access to permission \'EVENTS\'').
Technical support ([email protected]) does not respond to emails.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Egor Loskutov, 2015-07-05
@Seenet

Most likely, you are incorrectly setting the parameter for FAPI.UI.showPermissions ( https://apiok.ru/wiki/display/api/FAPI.UI.showPerm
... )

R
romamik, 2016-05-23
@romamik

Here: https://apiok.ru/wiki/pages/viewpage.action?pageId... - they write:
Those. to get permission, it is not enough to call showPermissions, you also need to register it in the application settings. And indeed, before prescribing showPermissions in the settings, it shows a dialog, but pressing the Allow button does not give the privilege.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question