Developers » API methods » AppWidgets » appWidgets.update
AppWidgetsappWidgets.update
Allows to update community app widget.
You can call this method not more than once in 10 seconds.
This method can be called with a community token. Access rights required: app_widget.
Parameters

code

Widget code. See details on this page.
(string)


typeWidget type. See details on this page.
(string)
Result
Returns 1.
Errors
12Unable to compile code
13Runtime error occurred during code invocation
18User was deleted or banned
19Content blocked
125Invalid group id
210Access to wall's post denied
212Access to post comments denied
Global errors can occur while running. See their descriptions on this page.