Facebook Pages Migration Guide
Upgrading to 2.0.0
Version v2.0.0 updates the API version from v23 to v24.
Deprecated fields have been removed and new fields have been added for the streams Post, Post Insights and Page Insights.
Post Stream - this version declares changes to this stream's schema, removing deprecated fields that are no longer available. Refresh stream schema and clear the stream data to continue using this stream. Please, follow Migration Steps below. Post Insight Stream and Page Insights Stream - this version removes deprecated metrics which are no longer available in the records. The Schema is not changed so refreshing the schema is not needed. It is only recommended that you Clear affected streams if you would like to have all data in one consistent format. Please, follow Migration Steps below for Clearing streams. Otherwise, no action is needed for these streams.
Post Stream Metrics:
Added:
allowed_advertising_objectsattachmentsfull_picture
Removed:
eventexpanded_heightexpanded_widthheightis_inline_createdpromotion_statustargettimeline_visibilityviawidthcommentsdynamic_postslikesreactionssharedposts
Post Insights Stream Metrics:
Added:
post_media_view
Removed:
post_impressionspost_impressions_paidpost_impressions_fanpost_impressions_fan_paidpost_impressions_fan_paid_uniquepost_impressions_organicpost_impressions_viralpost_impressions_nonviralpost_impressions_by_story_typepost_impressions_by_story_type_uniquepost_engaged_userspost_negative_feedbackpost_negative_feedback_uniquepost_negative_feedback_by_typepost_negative_feedback_by_type_uniquepost_engaged_fanpost_clicks_uniquepost_clicks_by_type_unique
Page Insights Stream Metrics:
Added:
page_media_view
Removed:
page_tab_views_login_top_uniquepage_tab_views_login_toppage_tab_views_logout_toppage_cta_clicks_logged_in_totalpage_cta_clicks_logged_in_uniquepage_cta_clicks_by_site_logged_in_uniquepage_cta_clicks_by_age_gender_logged_in_uniquepage_cta_clicks_logged_in_by_country_uniquepage_cta_clicks_logged_in_by_city_uniquepage_call_phone_clicks_logged_in_uniquepage_call_phone_clicks_by_age_gender_logged_in_uniquepage_call_phone_clicks_logged_in_by_country_uniquepage_call_phone_clicks_logged_in_by_city_uniquepage_call_phone_clicks_by_site_logged_in_uniquepage_get_directions_clicks_logged_in_uniquepage_get_directions_clicks_by_age_gender_logged_in_uniquepage_get_directions_clicks_logged_in_by_country_uniquepage_get_directions_clicks_logged_in_by_city_uniquepage_get_directions_clicks_by_site_logged_in_uniquepage_website_clicks_logged_in_uniquepage_website_clicks_by_age_gender_logged_in_uniquepage_website_clicks_logged_in_by_country_uniquepage_website_clicks_logged_in_by_city_uniquepage_website_clicks_by_site_logged_in_uniquepage_engaged_userspage_consumptionspage_consumptions_uniquepage_consumptions_by_consumption_typepage_consumptions_by_consumption_type_uniquepage_places_checkin_totalpage_places_checkin_total_uniquepage_places_checkin_mobilepage_places_checkin_mobile_uniquepage_places_checkins_by_age_genderpage_places_checkins_by_localepage_places_checkins_by_countrypage_negative_feedbackpage_negative_feedback_uniquepage_negative_feedback_by_typepage_negative_feedback_by_type_uniquepage_positive_feedback_by_typepage_positive_feedback_by_type_uniquepage_fans_onlinepage_fans_online_per_daypage_impressionspage_impressions_paidpage_impressions_organic_v2page_impressions_organic_unique_v2page_impressions_viralpage_impressions_nonviralpage_impressions_by_story_typepage_impressions_by_story_type_uniquepage_impressions_by_city_uniquepage_impressions_by_country_uniquepage_impressions_by_locale_uniquepage_impressions_by_age_gender_uniquepage_impressions_frequency_distributionpage_impressions_viral_frequency_distribution
Migration Steps
Clearing data for Post Stream
Clearing your data is required for the affected streams to continue syncing successfully. To clear your data for the affected streams, follow the steps below:
- Select Connections in the main navbar and select the connection(s) affected by the update.
- Select the Schema tab.
- Select Refresh source schema to bring in any schema changes. Any detected schema changes will be listed for your review.
- Select OK to approve changes.
- Select Save changes at the bottom of the page.
- Ensure the Clear affected streams option is checked to ensure your streams continue syncing successfully with the new schema.
- Select Save connection.
This will clear the data in your destination for the subset of streams with schema changes. After the clear succeeds, trigger a sync by clicking Sync Now. For more information on clearing your data in Airbyte, see this page.
Clearing data for Post Insight and Page Insights Streams
To clear data for a single stream, navigate to a Connection's status page, click the three grey dots next to any stream, and select "Clear data". This will clear the data for just that stream. You will then need to sync the connection again in order to reload data for that stream.
Upgrading to 1.0.0
This change is only breaking if you are syncing stream Page.
This version brings an updated schema for the v19.0 API version of the Page stream.
The messenger_ads_default_page_welcome_message field has been deleted, and call_to_actions, posts, published_posts, ratings, tabs and tagged fields have been added.
Users should:
- Refresh the source schema for the
Pagestream. - Reset the stream after upgrading to ensure uninterrupted syncs.
Refresh affected schemas and reset data
- Select Connections in the main nav bar.
- Select the connection affected by the update.
- Select the Replication tab.
- Select Refresh source schema.
- Select OK.
Any detected schema changes will be listed for your review.
- Select Save changes at the bottom of the page.
- Ensure the Reset affected streams option is checked.
Depending on destination type you may not be prompted to reset your data.
- Select Save connection.
This will reset the data in your destination and initiate a fresh sync.
For more information on resetting your data in Airbyte, see this page