Edit wall post

Brief description:

Since Ossn Services 9.4

  • Allows you to edit an existing wall post, but only the text content can be modified. If the post does not contain an image, adding or maintaining text is mandatory to ensure the post remains valid. This feature ensures users can correct or update their posts while maintaining content integrity.

Endpoint

Method:

  • POST / GET

Parameter:

Parameter name Required Type Explain
api_key_token Yes string Your API key
uguid Yes integer User ID that is trying to edit post. It must be owner of post.
post_guid Yes integer Post GUID
text Yes string New post text

Response

{
    "merchant": "OSSN 7.5",
    "url": "http:\/\/local.opensource-socialnetwork.org\/",
    "time_token": 1712576881,
    "payload": {
        "status": "success",
        "message": "Post successfully saved"
    },
    "code": "100",
    "message": "Request successfully executed"
}

Failed response

{
    "merchant": "OSSN 7.5",
    "url": "http:\/\/local.opensource-socialnetwork.org\/",
    "time_token": 1712577179,
    "payload": false,
    "code": "200",
    "message": {
        "status": "failed",
        "message": "Can not save post"
    }
}

Services View All