Classic APIs
ClassicGroupsApi
groupWallPosts_V1

groupWallPosts_V1

Gets a list of group wall posts.

Parameters

NameTypeDescription
groupIdIdentifierThe id of the group to get wall posts for.
limit?10 | 25 | 50 | 100The number of results to be returned.
sortOrder?SortOrderThe order that the results are sorted in.
cursor?stringThe paging cursor for the previous or next page.

Example

const { data: wallPosts } = await ClassicGroupsApi.groupWallPosts_V1({ groupId: 5850082 }); 

Example Data

[
  {
    id: 2727146317,
    poster: {
      hasVerifiedBadge: false,
      userId: 45348281,
      username: "MightyPart",
      displayName: "MightyPart",
    },
    body: "Lorem Ipsum dolor sit amet...",
    created: 2022-11-24T15:31:28.157Z,
    updated: 2022-11-24T15:31:28.157Z,
  },
] 

Endpoint

GET /v1/groups/{groupId}/wall/posts