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!

Please authenticate to join the conversation.

Upvoters
Status

In Review

Board
πŸ’‘

Feature Request

Date

3 months ago

Author

Vishaal Selvaraj

Subscribe to post

Get notified by email when there are changes.