Comments by Weekday and Hour

Comments by Day and Hour


Comment count for each fanpage, by day and hour

Entry-point

/account/:account/project/:project/facebook/comments/count/weekday/hour?
  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 Beginning of period, date in format yyyy-MM-dd (inclusive) 2015-02-01
END_DATE End of period, date in format yyyy-MM-dd (exclusive) 2015-02-05
PROFILES A list of fanpage ids separated by comma 84917688371,108586582757
TIMEZONE A timezone -- check the complete list here America/Argentina/Buenos_Aires

Sample Request

export ACCOUNT_ID=724
export PROJECT_ID=3

curl  -H"X-Auth-Token:${TOKEN}" 'https://api.quantum.socialmetrix.com/account/724/project/3/facebook/comments/count/weekday/hour?since=2015-02-01&until=2015-02-05&timezone=America%2FArgentina%2FBuenos_Aires&ids=84917688371,108586582757'

Sample Response

{
  "query": {
    "id": "/facebook/comments/count/weekday/hour",
    "filters": {
      "timezone": "America/Argentina/Buenos_Aires",
      "ids": [
        "84917688371",
        "108586582757"
      ],
      "owner": null,
      "type": null,
      "interactionType": null,
      "countries": null,
      "since": "2015-02-01",
      "until": "2015-02-05"
    }
  },
  "results": [
    {
      "id": "108586582757",
      "data": [
        [
          76,
          43,
          113,
          30,
          26,
          39,
          10,
          16,
          9,
          4,
          3,
          6,
          5,
          10,
          16,
          21,
          87,
          61,
          83,
          54,
          26,
          48,
          33,
          20
        ],
        [
          22,
          16,
          13,
          51,
          48,
          19,
          9,
          5,
          5,
          3,
          5,
          3,
          9,
          6,
          9,
          10,
          13,
          19,
          10,
          8,
          14,
          22,
          17,
          11
        ],
        [
          68,
          49,
          76,
          12,
          13,
          5,
          3,
          9,
          0,
          0,
          2,
          4,
          2,
          0,
          1,
          3,
          5,
          18,
          7,
          2,
          10,
          16,
          6,
          11
        ],
        [
          42,
          29,
          21,
          35,
          56,
          26,
          6,
          2,
          3,
          2,
          1,
          6,
          6,
          9,
          11,
          14,
          40,
          98,
          51,
          39,
          42,
          35,
          19,
          20
        ],
        [
          82,
          60,
          83,
          17,
          12,
          8,
          5,
          5,
          0,
          2,
          4,
          2,
          1,
          3,
          4,
          31,
          44,
          17,
          24,
          12,
          12,
          53,
          74,
          71
        ],
        [
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0
        ],
        [
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0
        ]
      ]
    },
    {
      "id": "84917688371",
      "data": [
        [
          17,
          4,
          10,
          2,
          1,
          1,
          1,
          0,
          2,
          3,
          0,
          1,
          3,
          4,
          2,
          3,
          3,
          2,
          5,
          3,
          6,
          27,
          24,
          13
        ],
        [
          55,
          38,
          42,
          7,
          3,
          5,
          3,
          9,
          10,
          7,
          2,
          7,
          11,
          8,
          6,
          11,
          12,
          8,
          9,
          7,
          4,
          9,
          89,
          77
        ],
        [
          6,
          4,
          6,
          29,
          20,
          30,
          24,
          27,
          21,
          21,
          24,
          18,
          18,
          26,
          28,
          24,
          21,
          17,
          26,
          21,
          39,
          19,
          15,
          4
        ],
        [
          1,
          1,
          3,
          1,
          4,
          2,
          5,
          2,
          5,
          6,
          10,
          5,
          4,
          10,
          6,
          11,
          9,
          2,
          4,
          1,
          2,
          4,
          8,
          1
        ],
        [
          24,
          15,
          8,
          2,
          0,
          0,
          0,
          2,
          0,
          2,
          4,
          2,
          2,
          2,
          3,
          1,
          5,
          2,
          3,
          2,
          2,
          1,
          52,
          33
        ],
        [
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0
        ],
        [
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0
        ]
      ]
    }
  ]
}