简体   繁体   中英

Is there a way to get hourly data from Facebook Insights Graph/FQL api?

Facebook only sends day, week, month and lifetime data. The only way I see is to get data every hour, but that doesn't work for past queries.

It's not possible to get finer insights data period breakdown than by day from the Graph/FQL APIs. Only day, week, month or lifetime data aggregations are available, as specified in the FQL and Graph Developer pages. Even though the FQL table's end_time field takes an hour-specific point in time expressed in unix time, that hour has to be set to midnight, Pacific Daylight Time, effectively making it a request for daily data as minimum period.

There are real-time analytics for social-plugins and Pages, but it is not accessible as raw data and has to be viewed through the Facebook dashboard. Last year, FB introduced real-time analytics for Social Plugins on Websites, such as the Like Button and the Comments box. FB has recently this year started offering real-time data for Pages . Again, it's only viewable online on your Page's insights section.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM