A
A
Alexander Makedonsky2015-11-25 15:39:03
Android
Alexander Makedonsky, 2015-11-25 15:39:03

How can the notifications.sendSimple method be used on the client (android)?

The following response comes: {"error_code":451,"error_msg":"NOT_SESSION_METHOD","error_data":null}
I understand that this method should be called outside the session and there should be a server-server, but I need to send notifications from the client.
Any ideas how this can be done?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vjacheslav Kanivetc, 2015-11-25
@Vjaka

And what is the option through the widget https://apiok.ru/wiki/pages/viewpage.action?pageId... not satisfied with? It's secure, client-side, officially recommended. And does not require additional permissions.

A
Alexander Makedonskiy, 2015-11-25
@makedonskiy07

as I understand it, a window will pop up where you can select friends to whom to send a notification. If so, then this is not desirable, since in my game I choose who to send notifications to.
But thanks anyway for the help.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question