Skip to main content

Passthrough the raw platform analytics object to users

When a user calls the https://zernio.com/api/v1/analytics endpoint, we should return the analytics endpoint response that the meta graph api returns. The platformAnalytics object is supposed to be the raw object that one would get from the graph API directly.

Fields like followsCount, playsCount, profileVisitsCount are very important and should not be truncated as part of the raw analytics object.

"platformAnalytics": [
        {
            "platform": "instagram",
            "status": "published",
            "platformPostId": "xxxxx",
            "accountId": "xxxxx",
            "accountUsername": "xxxxx",
            "analytics": {
                "impressions": 173,
                "reach": 122,
                "likes": 1,
                "comments": 0,
                "shares": 0,
                "saves": 0,
                "clicks": 0,
                "views": 173,
                "igReelsAvgWatchTime": 3585,
                "igReelsVideoViewTotalTime": 469695,
                "engagementRate": 0.58,
                "followsCount": -- missing,
                "lastUpdated": "xxxxx"
            },
            "syncStatus": "synced",
            "platformPostUrl": "xxxxx",
            "errorMessage": null
        }
    ]

This is a sincere request from me, please consider this.

Thanks!

Log in to comment and vote

No comments yet

Be the first to share your thoughts.