Post Stats

A complete set of stats for Facebook Posts


Entry-point

/account/:ACCOUNT_ID/project/:PROJECT_ID/facebook/profiles/posts-interactions/count/date?
  since=:START_DATE
  until=:END_DATE
  ids=:PROFILES
  timezone=:TIMEZONE
Parameters Description Sample
ACCOUNT_ID Account Id provided by /authentication 724
PROJECT_ID Project Id provided by /projects 3
START_DATE Begining of period, date in format yyyy-MM-dd (inclusive) 2015-01-19
END_DATE End of period, date in format yyyy-MM-dd (exclusive) 2015-02-17
POSTS A list of post_id separated by comma 84917688371_10152666003128372,84917688371_10152665587508372,84917688371_10152662867353372
TIMEZONE A timezone -- check the complete list here America/Argentina/Buenos_Aires

Sample Request

curl  -H"X-Auth-Token:${TOKEN}" 'https://api.quantum.socialmetrix.com/account/724/project/3/facebook/profiles/posts-interactions/count/date?since=2015-01-19&until=2015-02-17&timezone=America%2FArgentina%2FBuenos_Aires&ids=84917688371_10152666003128372%2C84917688371_10152665587508372%2C84917688371_10152662867353372'

Sample Response

{
  "query": {
    "id": "/facebook/profiles/posts-interactions/count/date",
    "filters": {
      "timezone": "America/Argentina/Buenos_Aires",
      "ids": [
        "84917688371_10152666003128372",
        "84917688371_10152662867353372",
        "84917688371_10152665587508372"
      ],
      "owner": null,
      "type": null,
      "interactionType": null,
      "countries": null,
      "since": "2015-01-19",
      "until": "2015-02-17"
    },
    "period": {
      "id": "1d",
      "duration": 86400
    }
  },
  "results": [
    {
      "id": "84917688371_10152666003128372",
      "data": [
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 3037,
          "comments": 53,
          "shares": 29,
          "engagementRate": 0.00011030773,
          "interactions": 3119
        },
        {
          "likes": 1633,
          "comments": 47,
          "shares": 24,
          "engagementRate": 6.0264305e-05,
          "interactions": 1704
        }
      ],
      "previousSum": {
        "likes": 0,
        "comments": 0,
        "shares": 0,
        "engagementRate": 0,
        "interactions": 0
      },
      "sum": {
        "likes": 4670,
        "comments": 100,
        "shares": 53,
        "engagementRate": 0.00017057204,
        "interactions": 4823
      }
    },
    {
      "id": "84917688371_10152662867353372",
      "data": [
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 35764,
          "comments": 338,
          "shares": 1270,
          "engagementRate": 0.0013217123,
          "interactions": 37372
        },
        {
          "likes": 5571,
          "comments": 65,
          "shares": 165,
          "engagementRate": 0.00020516035,
          "interactions": 5801
        },
        {
          "likes": 485,
          "comments": 17,
          "shares": 22,
          "engagementRate": 1.853198e-05,
          "interactions": 524
        }
      ],
      "previousSum": {
        "likes": 0,
        "comments": 0,
        "shares": 0,
        "engagementRate": 0,
        "interactions": 0
      },
      "sum": {
        "likes": 41820,
        "comments": 420,
        "shares": 1457,
        "engagementRate": 0.0015454045,
        "interactions": 43697
      }
    },
    {
      "id": "84917688371_10152665587508372",
      "data": [
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 0,
          "comments": 0,
          "shares": 0,
          "engagementRate": 0,
          "interactions": 0
        },
        {
          "likes": 5054,
          "comments": 106,
          "shares": 484,
          "engagementRate": 0.00019960784,
          "interactions": 5644
        },
        {
          "likes": 851,
          "comments": 25,
          "shares": 112,
          "engagementRate": 3.494198e-05,
          "interactions": 988
        }
      ],
      "previousSum": {
        "likes": 0,
        "comments": 0,
        "shares": 0,
        "engagementRate": 0,
        "interactions": 0
      },
      "sum": {
        "likes": 5905,
        "comments": 131,
        "shares": 596,
        "engagementRate": 0.0002345498,
        "interactions": 6632
      }
    }
  ],
  "annotations": []
}