Stories list

Documentation for using the OSSN API's GET method to retrieve the story feed. This endpoint automatically returns only those Story items posted by the requesting user's friends within the last 24 hours for display in the OSSN system.

Endpoint:

Method:

  • POST / GET

Parameter:

Parameter name Required Type Explain
api_key_token Yes string Your API key
uguid Yes integer Must be provided the user guid for which you wanted to display stories. This is a loggedin user

Example Response

{
    "merchant": "Premium Social Network",
    "url": "http:\/\/local.openteknik.com\/",
    "time_token": 1632227484,
    "payload": {
        "stories": [
            {
                "owner": {
                    "fullname": "System Administrator",
                    "guid": 1,
                    "item_guid": 123,
                    "icon": "http:\/\/local.openteknik.com\/avatar\/arsalanshah\/small\/c0e15d54735a596d4e16bf1aaa999758.jpeg"
                },
                "files": [
                    {
                        "title": "tafsafa",
                        "guid": 695,
                        "time": "6 minutes ago",
                        "url": "http:\/\/local.openteknik.com\/stories\/file\/695\/fcd2a4bd794740bff6033cb28325c5b9.jpeg"
                    },
                    {
                        "title": "tafsafa",
                        "guid": 696,
                        "time": "6 minutes ago",
                        "url": "http:\/\/local.openteknik.com\/stories\/file\/696\/0e99e86020bc2b7930ca898fbb347de9.jpeg"
                    }
                ]
            }
        ]
    },
    "code": "100",
    "message": "Request successfully executed"
}

Parameters
stories contain list of array each array item contain further owner and files.

Services View All