[ISSUE 48459] Source-Instagram: Remove Unsupported Fields in media_insights and user_insights #51011
+4
−71
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What
Solves #48459
Starting January 8, 2025, the following fields are no longer supported in the following streams. Here are the Facebook docs as a reference: https://developers.facebook.com/docs/graph-api/changelog/version21.0
user_insights:
video_views
user_insights:
email_contacts, get_direction_clicks, profile_views, text_message_clicks, website_clicks, phone_call_clicks
Including these fields results in a bad request and causes these streams to fail syncs.
How
Unsupported fields have been removed from requests. Schemas and ERDs have been updated
Review guide
Ensure All unsupported fields are removed from requests
User Impact
These metrics are no longer available, and will no longer be fetched in records. If users depend on these fields they will need to migrate away from them as Facebook will no longer provide them
Can this PR be safely reverted and rolled back?
Because rolling back this PR will produce bad requests and cause syncs to fail.