I
I
Ivan Filatov2019-06-14 15:41:57
JavaScript
Ivan Filatov, 2019-06-14 15:41:57

Is it possible to automatically update the Vkontakte Communities Widget?

There is a "Community Application" that can add or update a Widget (table) on the Community page.
But the Widget , as I understand it, is static . lets you insert an object/data and that's it. The task is to update the information in the Widget not by hand, through the "Community Application", but automatically. Is it possible to call the methods of this "Community Application" using the Service Access Key and some VKontakte methods to send the Application a new BODY of the widget, and it will already call showAppWidgetPreviewBox and update the content. Or maybe there is some other way? I will be glad for any help!
VK.callMethod("showAppWidgetPreviewBox", ...


Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
lightalex, 2019-06-20
@NYMEZIDE

Yuzai VK.callMethod('showGroupSettingsBox', 64);to get a token from the community administrator for auto-updating the widget.
And then through the backend with the received token you call appWidgets.update.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question