Pinterest followers in the PubNio analytics API

Pinterest connects boards, but PubNio's account metrics for a board come from the Pinterest user: followers is the user account's follower_count, and impressions, saves, and clicks come from /user_account/analytics. Two boards connected from one Pinterest user report the same account numbers.

Pinterest: LiveView as Markdown

What PubNio returns

MetricScopePinterest fieldUnitCombines by
followersaccountfollower_countcountlatest

followers: Current follower or subscriber count; a stock, never summed.

How PubNio reads it

  • The account read does not use the board's ID: it calls /user_account/analytics and /user_account with the connection's credential and keeps the ALL entry.
  • Capabilities list the account kind as social_board. Followers gained and lost are unsupported (not_exposed).

Example

The capabilities endpoint answers without calling Pinterest. Under the Pinterest provider, these are its entries for followers.

request.http
GET /api/v1/workspaces/4e5f6a7b-8c9d-4e0f-9a1b-2c3d4e5f6a7b/analytics/capabilities
Authorization: Bearer pn_live_***
response-excerpt-pinterest-metrics.json
[
  {
    "key": "followers",
    "scope": "account",
    "granularity": "day",
    "unit": "count",
    "aggregation": "latest",
    "availability": "available",
    "supported": true,
    "renamedFrom": "follower_count"
  }
]

Limits

  • A metric Pinterest does not report comes back with value: null and an availability state that says why. A post with no stored values whose last read failed on permissions, a rate limit, or a transient error answers with that error instead.