Post Analytics

The following endpoint allows to retrieve the most updated social metrics from Oktopost according to Post and Social Post Ids.

Example Request

https://api.oktopost.com/v2/analytics/004000000000001

Example Result

{
    "Result": true,
    "Stats": {
        "LinkClicks": 6,
        "Conversions": 1,
        "Comments": 0,
        "Likes": 2,
        "Shares": 1,
        "ImpressionsAdded": 69,
        "MediaClicksAdded": 0,
        "DetailExpandsAdded": 2,
        "UserFollowsAdded": 0
    }
}

Note that in case a metric is not available for the social network or profile the stat value will return -1 instead of 0.

Feedback and Knowledge Base