I want to get the daily insights data so I try to use the below edge to request record by record (day by day). If there is data for 30 days, I have to request 30 times.
/insights?fields=impressions,social_clicks,website_clicks,ctr&time_range={'since':'2015-01-01','until':'2015-01-01'}
But if I can break down by using the edge such as the below one, I would not have to request many times.
/insights?fields=impressions,social_clicks,website_clicks,ctr&breakdowns=DAY
Do you know how to break down the insights by day?
You can access Page Insights by typing /insights after the name of your page in the URL field. This command will retrieve all of the Insights associated with your Page. Type "/insights" after your company name. Click the Submit button.
Tap Pages, then go to your Page. Tap More at the top of your Page, then tap Insights. To see more insights or to export insights, log into Facebook from a computer. Insights provide information about your Page's performance, like demographic data about your audience and how people are responding to your posts.
In Facebook Insights, the metrics can be found in the Content tab. And in Creator Studio, overall engagement numbers are found in the Insights tab while post-level ones are in the Published tab.
You can select how to break in days using a parameter, for getting daily info just use the parameter time_increment
parameter with value 1.
/insights?fields=impressions,social_clicks,website_clicks,ctr&time_range={'since':'2015-01-01','until':'2015-01-30'}&time_increment=1
Reference: https://developers.facebook.com/docs/marketing-api/reference/ad-account/insights/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With