Is it possible to GET unfollow count per day from instagram graph API?

724 Views Asked by At

I am trying to get follow and unfollow count per day from instagram Graph API.

Tried the metric follows_and_unfollows. It is giving me the following error:

Query used:

accnt_id?fields=insights.metric(follows_and_unfollows).period(day).since(2022-07-08).until(2022-08-01)

Response:

 {
 "message": "(#100) The following metrics (follows_and_unfollows) should be specified with parameter metric_type=total_value",
    "type": "OAuthException",
    "code": 100
..........
}

And on trying with the method mentioned in the above error

Query:

accnt_id?fields=insights.metric(follows_and_unfollows).period(day).since(2022-07-08).until(2022-08-01).metric_type(total_value)

Response

{
  "error": {
    "message": "(#100) Param metric_type on field insights: This param is not valid",
    "type": "OAuthException",
    "code": 100,
    "fbtrace_id": ""
  }
}
1

There are 1 best solutions below

2
Lucas On

The link would look like how? with this specification

Related Questions in INSTAGRAM-GRAPH-API