Developers » API methods » Wall » wall.getReposts
Wallwall.getReposts
Returns information about reposts of a post on user wall or community wall.
This method can be called by a service token. Only public data is returned.
This method can be called with a user token.
Parameters
owner_idUser ID or community ID. By default, current user ID. Use a negative value to designate a community ID.
int (number), current user id is used by default
post_idPost ID.
positive number
offsetOffset needed to return a specific subset of reposts.
positive number
countNumber of reposts to return.
positive number, default 20, maximum value 1000
Result
Returns an object containing the following fields:
  • items Ś An array of wall reposts.
  • profiles Ś Information about users with additional fields sex, online, photo, photo_medium_rec, and screen_name.
  • groups Ś Information about communities.

Errors
30This profile is private
Global errors can occur while running. See their descriptions on this page.
Version historyShow all
5.20
Wiki page in post is returned as page object.
A new need_source parameter was added for method pages.get, source field isnt returned by default now.
5.19
Group fields start_date and finish_date became numbers (were strings).
If friend filter is enabled, field user_id is returned instead of uid.
Method fave.getLinks returns images with names photo_50 and photo_100 instead of image_src and image_middle.
5.4
In all methods that return people objects, photo, photo_medium_rec fields were renamed to photo_50, photo_100.
In wall attachment from and copy_owner fields return as user or community object, not array.
4.9