From 279ee455bfad9f1d4ae2bc0cf4e893c228f5ab7c Mon Sep 17 00:00:00 2001 From: Serhii Lazebnyi <53845333+lazebnyi@users.noreply.github.com> Date: Mon, 14 Mar 2022 17:47:31 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Source=20Facebook=20Marketing:?= =?UTF-8?q?=20Add=20new=20permission=20to=20OAuth=20flow=20(#11108)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add new permission to oauth flow * Updated PR number * Downgrade version to current --- .../oauth/flows/facebook/FacebookMarketingOAuthFlow.java | 2 +- docs/integrations/sources/facebook-marketing.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/facebook/FacebookMarketingOAuthFlow.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/facebook/FacebookMarketingOAuthFlow.java index 386bc1be824..098e35b9e2a 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/facebook/FacebookMarketingOAuthFlow.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/facebook/FacebookMarketingOAuthFlow.java @@ -11,7 +11,7 @@ import java.util.function.Supplier; public class FacebookMarketingOAuthFlow extends FacebookOAuthFlow { - private static final String SCOPES = "ads_management,ads_read,read_insights"; + private static final String SCOPES = "ads_management,ads_read,read_insights,business_management"; public FacebookMarketingOAuthFlow(final ConfigRepository configRepository, final HttpClient httpClient) { super(configRepository, httpClient); diff --git a/docs/integrations/sources/facebook-marketing.md b/docs/integrations/sources/facebook-marketing.md index 335dc9eeb03..e6e9c46ce38 100644 --- a/docs/integrations/sources/facebook-marketing.md +++ b/docs/integrations/sources/facebook-marketing.md @@ -63,7 +63,7 @@ From the App's Dashboard screen \(seen in the screenshot below\) enable the Mark #### API Access Token -In the App Dashboard screen, click Marketing API --> Tools on the left sidebar. Then highlight all the available token permissions \(`ads_management`, `ads_read`, `read_insights`\) and click "Get token". A long string of characters should appear in front of you; **this is the access token.** Copy this string for use in the Airbyte UI later. +In the App Dashboard screen, click Marketing API --> Tools on the left sidebar. Then highlight all the available token permissions \(`ads_management`, `ads_read`, `read_insights`, `business_management`\) and click "Get token". A long string of characters should appear in front of you; **this is the access token.** Copy this string for use in the Airbyte UI later. ![](../../.gitbook/assets/facebook_access_token.png)