Answer the question
In order to leave comments, you need to log in
How to implement authorization on the site through VKontakte with permission to send notifications from the group?
The functionality of the developed service is to send notifications to the user in VKontakte, the service settings are allocated to a separate web page, and to access this page, you must log in through VKontakte.
Now the "Allow MessagesFromCommunity" widget is used ( https://vk.com/dev/AllowMessagesFromCommunity), it is good when the user first allows notifications to be sent: the user clicks "Allow notifications" and as a result his VKontakte ID is sent to the server and authorization occurs.
But this widget has a significant disadvantage, when you re-authorize on the settings page, at first this widget looks like "Disable notifications", i.e. the user is forced to first click "Deny" and then again "Allow" and only then will authorization occur.
Are there ways to avoid forcing the user to click "Deny" and then "Allow"?
Or is there a way to authorize the user by creating an API application with the rights to send messages from the community?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question