Group wall posts list

Brief description:

  • List wall posts for group page.

Endpoint

Method:

  • POST / GET

Parameter:

Parameter name Required Type Explain
api_key_token Yes string Your API key
group_guid Yes integer Group ID.
guid Yes integer User who is viewing the group
offset Yes integer The page number, if count > 10 , then you can use offset to next 10 posts, like if there are 30 posts, you can use 1, 2, 3 number, each response contain 10 posts
count Yes integer The total number of posts

Example Response

{
    "merchant": "Open Source Social Network",
    "url": "http:\/\/www.mywebsite.com\/",
    "time_token": 1569255645,
    "payload": {
        "posts": [
            {
                "post": {
                    "data": {},
                    "guid": "114",
                    "time_created": "1569255618",
                    "owner_guid": "7",
                    "description": "{\"post\":\"Hello!\"}",
                    "title": "",
                    "type": "group",
                    "subtype": "wall",
                    "poster_guid": "1",
                    "access": "1",
                    "time_updated": "0",
                    "total_likes": 0,
                    "is_liked_by_user": false
                },
                "friends": [],
                "text": "Hello!",
                "location": "",
                "user": {
                    "guid": "1",
                    "first_name": "System",
                    "last_name": "Administrator",
                    ...
                    ...
                },
                "image": ""
            }
        ],
        "count": "1",
        "offset": 1,
        "group": {
            "data": {},
            "guid": "7",
            "time_created": "1568224071",
            "owner_guid": "2",
            "description": "New group about",
            "title": "Test Group",
            ...
            ...
        }
    },
    "code": "100",
    "message": "Request successfully executed"
}

Return payload parameter description

Parameter name Type Explain
group object Contains group details
posted_user object UserID who created the post
post.is_liked_by_user boolean true if it is liked by viewer
post.total_likes integer Numer of total likes

Remark

  • If the request succeed you should get the code 100 besides the payload.
  • If you have any question you may create start a new topic on community.

Services View All