partnerStats

partnerStats.getContentStatsByPeriod

The translation was generated automatically and may contain mistakes

Returns community statistics by content unit

To call this method, you can use:

Parameters

owner_id

integer

Community ID (with a sign - ).

Required parameter

content_type

string

Type of content. Possible values: post , clip , video , story .

Required parameter

content_ids

string

List of content identifiers of the selected type (numeric values).

Required parameter

timestamp_from

string

The beginning of the statistical period Unixtime .

Required parameter

timestamp_to

string

The end of the statistical period Unixtime

Required parameter

Result

After successful execution, it returns an array of objects with statistics on content units with the following fields:

Field
Type
Description
id
integer
Content ID
reach
object
Object of coverage value by subscriber type
views
integer
Number of Views
likes
integer
Number of Likes
comments
integer
Number of comments (except stories)
shares
integer
Number of Reposts
bookmarks
integer
Number of bookmarkings (posts only)
hides
integer
Number of hiding
complains
integer
Number of complaints
subscriptions
integer
Subscriptions through history (for stories only)
replies
integer
Number of messages in response to a story (for stories only)
link_clicks
integer
Number of clicks on links in history (for stories only)

Scope object fields

Field
Type
Description
all
integer
Overall importance
subscribers
integer
Significance among subscribers
viral
integer
The Viral Meaning

Error codes

Common errors may occur during execution