vk.showShareDialog()


Type Function

Return value none

See also vk.*


Overview

Shows a share popup window, which user can use to edit and post a message on his or her VK wall.

Syntax

vk.showShareDialog(params)

params required

Table. Contains parameters for the call — see the next section for details.

Parameter Reference

The params table includes parameters for the call.

text optional

String. Message text.

linkTitle optional

String. Attached link title text.

String. Attached link URL.

imageId optional

String. Attached image VK id.

image optional ~(iOS)~

Image. Upload and attach the specified image file.

listener optional

Listener. Listener which receives the showShareDialog event.