Social Profiles

The following endpoint can be used to read social profiles available in Oktopost. The profile Ids can be used for posting or filtering on other endpoints. This endpoint will return only profiles in valid state.

Get Social Profile

Get a single social profile by Id.

Example Request

curl -i https://api.oktopost.com/v2/credential/003-001000000000000-10795428XXXXXXXXX

Example Result

{  
    "Result":true,
    "Credential":{  
        "Id":"003-001000000000000-10795428XXXXXXXXX",
        "Created":"2015-10-26 21:02:30",
        "Name":"Oktopost's Twitter",
        "Status":"valid",
        "Network":"Twitter",
        "ImageLink":"valid",
        "NetworkUsername":"oktopost"
    }
}

List Social Profiles

Example Request

curl -i https://api.oktopost.com/v2/credential?network=Twitter

Parameters

Results can be filtered by network. Acceptable values are: LinkedIn, Twitter, Google and Facebook.

Example Result

{  
    "Result":true,
    "Items":[{  
        "Id":"003-001000000000000-10795428XXXXXXXXX",
        "Created":"2015-10-26 21:02:30",
        "Name":"Oktopost's Twitter",
        "Status":"valid",
        "Network":"Twitter",
        "ImageLink":"valid",
        "NetworkUsername":"oktopost"
    },
    ...
    ],
    "Total":21
}

Feedback and Knowledge Base