new(whatsapp.gblib): FB Analytics.
This commit is contained in:
parent
beffc53463
commit
8cdc814199
1 changed files with 1 additions and 1 deletions
|
@ -1590,7 +1590,7 @@ private async sendButtonList(to: string, buttons: string[]) {
|
||||||
|
|
||||||
const analyticsResponse = await fetch(
|
const analyticsResponse = await fetch(
|
||||||
`https://graph.facebook.com/v21.0/${businessAccountId}?` +
|
`https://graph.facebook.com/v21.0/${businessAccountId}?` +
|
||||||
`fields=template_analytics.start(${startTime}).end(${endTime}).granularity(DAY).metric_types(sent,delivered,read,clicked).template_ids([${templateId}])&` +
|
`fields=template_analytics.start(${startTime}).end(${endTime}).granularity(DAILY).metric_types(sent,delivered,read,clicked).template_ids([${templateId}])&` +
|
||||||
`access_token=${userAccessToken}`
|
`access_token=${userAccessToken}`
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue