Photos list profile or cover

Brief description:

  • List a photos for profile photos album or profile cover photos

Endpoint

Method:

  • POST / GET

Parameter:

Parameter name Required Type Explain
api_key_token Yes string Your API key
guid Yes integer UserID owner of album
type Yes string Type of list profile or cover

Example Response

{
    "merchant": "Open Source Social Network",
    "url": "http:\/\/www.mywebsite.com\/",
    "time_token": 1569324166,
    "payload": {
        "list": [
            {
                "guid": "707",
                "image_url": "http:\/\/www.mywebsite.com\/album\/getphoto\/1\/f28c65f85d2ce5677545ae2d953d82a0.jpg?size=larger&type=1"
            },
            {
                "guid": "681",
                "image_url": "http:\/\/www.mywebsite.com\/album\/getphoto\/1\/ae99d38c725c2bfc8d7df8f6be057193.jpeg?size=larger&type=1"
            }
        ]
    },
    "code": "100",
    "message": "Request successfully executed"
}

Return payload parameter description

Parameter name Explain
list Will contain photos in album

Remarks

  • If there are no photos you will be list as null|false
  • If album didn't exist you will get 103 error.

Services View All