I was creating an application to get insights into business and creator accounts. But when I was trying out to get insights of an account using business discovery, I was receiving the error
{
"error": {
"message": "(#100) For field 'insights': The parameter metric is required",
"type": "OAuthException",
"code": 100,
"fbtrace_id": "A_VNXOMovZwvUpzUFVF5y87"
}
}
The query I fetched was ?fields=business_discovery.username(google){insights{impressions}}
I know how can I fetch insights data for my account /insights?metric=impressions&period=day
. But I cannot understand, how can I give the period
argument in that previous query?