Search code examples
excelcsvexportodatafacebook-insights

Automate the export of Facebook Insights data


I'm looking for a way of programmatically exporting Facebook insights data for my pages, in a way that I can automate it. Specifically, I'd like to create a scheduled task that runs daily, and that can save a CSV or Excel file of a page's insights data using a Facebook API. I would then have an ETL job that puts that data into a database.

I checked out the oData service for Excel, which appears to be broken. Does anyone know of a way to programmatically automate the export of insights data for Facebook pages?


Solution

  • You would need to write something that uses the Insights part of the Facebook Graph API. I haven't seen something already written for this.