diff --git a/airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/010eb12f-837b-4685-892d-0a39f76a98f5.json b/airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/010eb12f-837b-4685-892d-0a39f76a98f5.json index 0ef723c9863f..701207e5790f 100644 --- a/airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/010eb12f-837b-4685-892d-0a39f76a98f5.json +++ b/airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/010eb12f-837b-4685-892d-0a39f76a98f5.json @@ -2,7 +2,7 @@ "sourceDefinitionId": "010eb12f-837b-4685-892d-0a39f76a98f5", "name": "Facebook Pages", "dockerRepository": "airbyte/source-facebook-pages", - "dockerImageTag": "0.1.1", + "dockerImageTag": "0.1.2", "documentationUrl": "https://hub.docker.com/r/airbyte/source-facebook-pages", "icon": "facebook.svg" } diff --git a/airbyte-config/init/src/main/resources/seed/source_definitions.yaml b/airbyte-config/init/src/main/resources/seed/source_definitions.yaml index e2df1dc60ff7..2240ab2370a0 100644 --- a/airbyte-config/init/src/main/resources/seed/source_definitions.yaml +++ b/airbyte-config/init/src/main/resources/seed/source_definitions.yaml @@ -154,7 +154,7 @@ - sourceDefinitionId: 010eb12f-837b-4685-892d-0a39f76a98f5 name: Facebook Pages dockerRepository: airbyte/source-facebook-pages - dockerImageTag: 0.1.1 + dockerImageTag: 0.1.2 documentationUrl: https://hub.docker.com/r/airbyte/source-facebook-pages icon: facebook.svg sourceType: api diff --git a/airbyte-integrations/connectors/source-facebook-pages/Dockerfile b/airbyte-integrations/connectors/source-facebook-pages/Dockerfile index f91e78203f04..ae7872f9c6ea 100644 --- a/airbyte-integrations/connectors/source-facebook-pages/Dockerfile +++ b/airbyte-integrations/connectors/source-facebook-pages/Dockerfile @@ -12,5 +12,5 @@ RUN pip install . ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py" ENTRYPOINT ["python", "/airbyte/integration_code/main.py"] -LABEL io.airbyte.version=0.1.1 +LABEL io.airbyte.version=0.1.2 LABEL io.airbyte.name=airbyte/source-facebook-pages diff --git a/airbyte-integrations/connectors/source-facebook-pages/source_facebook_pages/metrics.py b/airbyte-integrations/connectors/source-facebook-pages/source_facebook_pages/metrics.py index 69a669c31422..5d3caa3b770c 100755 --- a/airbyte-integrations/connectors/source-facebook-pages/source_facebook_pages/metrics.py +++ b/airbyte-integrations/connectors/source-facebook-pages/source_facebook_pages/metrics.py @@ -122,7 +122,6 @@ "category_list", "checkins", "company_overview", - "connected_instagram_account", "connected_page_backed_instagram_account", "contact_address", "country_page_likes", @@ -157,7 +156,6 @@ "hours", "impressum", "influences", - "instagram_business_account", "is_always_open", "is_chain", "is_community_page", @@ -241,7 +239,6 @@ "call_to_actions", "canvas_elements", "commerce_merchant_settings", - "custom_labels", "events", "feed", "global_brand_children", diff --git a/airbyte-integrations/connectors/source-facebook-pages/source_facebook_pages/streams.py b/airbyte-integrations/connectors/source-facebook-pages/source_facebook_pages/streams.py index 717fb1c76800..1bb59f6682bb 100755 --- a/airbyte-integrations/connectors/source-facebook-pages/source_facebook_pages/streams.py +++ b/airbyte-integrations/connectors/source-facebook-pages/source_facebook_pages/streams.py @@ -11,7 +11,7 @@ class FacebookPagesStream(HttpStream, ABC): - url_base = "https://graph.facebook.com/v11.0/" + url_base = "https://graph.facebook.com/v12.0/" primary_key = "id" data_field = "data" diff --git a/docs/integrations/sources/facebook-pages.md b/docs/integrations/sources/facebook-pages.md index d2854818f126..4a494e6d826b 100644 --- a/docs/integrations/sources/facebook-pages.md +++ b/docs/integrations/sources/facebook-pages.md @@ -83,6 +83,6 @@ You can easily get the page id from the page url. For example, if you have a pag | Version | Date | Pull Request | Subject | | :--- | :--- | :--- | :--- | +| 0.1.2 | 2021-10-18 | [7128](https://github.com/airbytehq/airbyte/pull/7128) | Upgrade Facebook API to v.12 | | 0.1.1 | 2021-09-30 | [6438](https://github.com/airbytehq/airbyte/pull/6438) | Annotate Oauth2 flow initialization parameters in connector specification | | 0.1.0 | 2021-09-01 | [5158](https://github.com/airbytehq/airbyte/pull/5158) | Initial Release | -