User Ranking by Comments

User Gender metrics for each Fanpage


A list of top users for each fanpage, ranked by the amount of comments they made

Entry-point

/account/:account/project/:project/facebook/users/ranking/comments?
  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/users/ranking/comments?since=2015-02-01&until=2015-02-05&timezone=America%2FArgentina%2FBuenos_Aires&ids=84917688371,108586582757'

Sample Response

{
  "query": {
    "id": "/facebook/users/ranking/comments",
    "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": "84917688371",
      "data": [
        {
          "id": "100000077151920",
          "comments": 11,
          "posts": 0
        },
        {
          "id": "1577655079118925",
          "comments": 8,
          "posts": 0
        },
        {
          "id": "1236138490",
          "comments": 6,
          "posts": 0
        },
        {
          "id": "841069229287805",
          "comments": 5,
          "posts": 0
        },
        {
          "id": "100005182458584",
          "comments": 5,
          "posts": 0
        },
        {
          "id": "872416899467512",
          "comments": 5,
          "posts": 0
        },
        {
          "id": "851307481597282",
          "comments": 5,
          "posts": 0
        },
        {
          "id": "100009023465103",
          "comments": 4,
          "posts": 0
        },
        {
          "id": "100008908057436",
          "comments": 4,
          "posts": 0
        },
        {
          "id": "389407261233813",
          "comments": 4,
          "posts": 0
        }
      ]
    },
    {
      "id": "108586582757",
      "data": [
        {
          "id": "366344190211741",
          "comments": 23,
          "posts": 0
        },
        {
          "id": "1545485775723874",
          "comments": 18,
          "posts": 0
        },
        {
          "id": "100002454246213",
          "comments": 7,
          "posts": 0
        },
        {
          "id": "353649314819833",
          "comments": 6,
          "posts": 0
        },
        {
          "id": "775501209198893",
          "comments": 6,
          "posts": 0
        },
        {
          "id": "100003228361743",
          "comments": 6,
          "posts": 0
        },
        {
          "id": "10205402911572866",
          "comments": 6,
          "posts": 0
        },
        {
          "id": "1443810285",
          "comments": 5,
          "posts": 0
        },
        {
          "id": "100000815456924",
          "comments": 5,
          "posts": 0
        },
        {
          "id": "108586582757",
          "comments": 5,
          "posts": 20
        }
      ]
    }
  ]
}