Facebook Export API替代方案咨询:API将于2018年8月1日停用
Hey there, sorry to hear about the Export API deprecation throwing a wrench in your pipeline—let’s walk through the solid alternatives Facebook provides to keep your app events data flowing:
Graph API Analytics Endpoints
Facebook's Graph API serves as the official replacement for the deprecated Export API, with dedicated endpoints to pull app events data directly. You can use endpoints likeGET /{app-id}/analytics/app_eventsto fetch either aggregated or raw event data, and filter results by time ranges, specific event names, or user property segments. Since it’s REST-based, it integrates seamlessly with existing data pipelines just like the old API. Note that your app will need theread_insightspermission to access these endpoints.Marketing API for Ad-Tied Events
If your pipeline focuses on app events linked to Facebook ads (such as conversions, clicks, or attribution data), the Marketing API is a robust choice. It offers granular access to ad-related event data through endpoints likeGET /{ad-account-id}/insights, which can align perfectly with advertising analytics needs. You’ll need either theads_managementorread_insightspermission here, depending on the specific data you’re fetching.Webhooks for Real-Time Event Processing
Instead of relying on batch exports, consider switching to webhooks to receive app events in real time. You can set up a webhook subscription for your app’s events, and Facebook will send a POST request to your specified endpoint every time an event occurs. This is ideal if your pipeline requires low-latency data processing. To get started, head to your app’s dashboard, configure the webhook, and subscribe to theapp_eventsfield.Business Suite Insights (Scheduled/Aggregated Reports)
For teams that need periodic, aggregated data, Facebook Business Suite Insights lets you generate custom app events reports. You can set up scheduled exports (in CSV or JSON format) to be sent to your email or cloud storage, which can then be ingested into your pipeline. While this isn’t ideal for real-time needs, it’s a reliable option for regular reporting workflows.
A quick pro tip: Be sure to test these endpoints thoroughly before the August 1 cutoff date, and double-check that your app has all necessary permissions approved to avoid any unexpected data gaps.
内容的提问来源于stack exchange,提问作者Logan

