diff --git a/src/v0/destinations/fb_custom_audience/config.js b/src/v0/destinations/fb_custom_audience/config.js index 284ab0d4a4..39ca2d04c4 100644 --- a/src/v0/destinations/fb_custom_audience/config.js +++ b/src/v0/destinations/fb_custom_audience/config.js @@ -1,4 +1,4 @@ -const BASE_URL = 'https://graph.facebook.com/v18.0'; +const BASE_URL = 'https://graph.facebook.com/v20.0'; function getEndPoint(audienceId) { return `${BASE_URL}/${audienceId}/users`; diff --git a/src/v0/destinations/fb_custom_audience/util.test.js b/src/v0/destinations/fb_custom_audience/util.test.js index 60e0aff464..5c8eb15b71 100644 --- a/src/v0/destinations/fb_custom_audience/util.test.js +++ b/src/v0/destinations/fb_custom_audience/util.test.js @@ -18,7 +18,7 @@ const basePayload = { const baseResponse = { version: '1', type: 'REST', - endpoint: 'https://graph.facebook.com/v18.0/23848494844100489/users', + endpoint: 'https://graph.facebook.com/v20.0/23848494844100489/users', headers: {}, params: { access_token: 'ABC', diff --git a/test/integrations/destinations/fb_custom_audience/router/data.ts b/test/integrations/destinations/fb_custom_audience/router/data.ts index 72438e74b0..ab9bfee973 100644 --- a/test/integrations/destinations/fb_custom_audience/router/data.ts +++ b/test/integrations/destinations/fb_custom_audience/router/data.ts @@ -28,7 +28,7 @@ export const data = [ version: '1', type: 'REST', method: 'DELETE', - endpoint: 'https://graph.facebook.com/v18.0/aud1/users', + endpoint: 'https://graph.facebook.com/v20.0/aud1/users', headers: {}, params: { access_token: 'ABC', @@ -79,7 +79,7 @@ export const data = [ version: '1', type: 'REST', method: 'POST', - endpoint: 'https://graph.facebook.com/v18.0/aud1/users', + endpoint: 'https://graph.facebook.com/v20.0/aud1/users', headers: {}, params: { access_token: 'ABC', @@ -187,7 +187,7 @@ export const data = [ version: '1', type: 'REST', method: 'DELETE', - endpoint: 'https://graph.facebook.com/v18.0/aud1/users', + endpoint: 'https://graph.facebook.com/v20.0/aud1/users', headers: {}, params: { access_token: 'ABC', @@ -238,7 +238,7 @@ export const data = [ version: '1', type: 'REST', method: 'POST', - endpoint: 'https://graph.facebook.com/v18.0/aud1/users', + endpoint: 'https://graph.facebook.com/v20.0/aud1/users', headers: {}, params: { access_token: 'ABC', @@ -369,7 +369,7 @@ export const data = [ version: '1', type: 'REST', method: 'POST', - endpoint: 'https://graph.facebook.com/v18.0/23848494844100489/users', + endpoint: 'https://graph.facebook.com/v20.0/23848494844100489/users', headers: {}, params: { access_token: 'ABC', @@ -558,7 +558,7 @@ export const data = [ version: '1', type: 'REST', method: 'DELETE', - endpoint: 'https://graph.facebook.com/v18.0/23848494844100489/users', + endpoint: 'https://graph.facebook.com/v20.0/23848494844100489/users', headers: {}, params: { access_token: 'ABC', @@ -647,7 +647,7 @@ export const data = [ version: '1', type: 'REST', method: 'POST', - endpoint: 'https://graph.facebook.com/v18.0/23848494844100489/users', + endpoint: 'https://graph.facebook.com/v20.0/23848494844100489/users', headers: {}, params: { access_token: 'ABC', @@ -720,7 +720,7 @@ export const data = [ version: '1', type: 'REST', method: 'POST', - endpoint: 'https://graph.facebook.com/v18.0/23848494844100489/users', + endpoint: 'https://graph.facebook.com/v20.0/23848494844100489/users', headers: {}, params: { access_token: 'ABC', @@ -877,7 +877,7 @@ export const data = [ version: '1', type: 'REST', method: 'POST', - endpoint: 'https://graph.facebook.com/v18.0/23848494844100489/users', + endpoint: 'https://graph.facebook.com/v20.0/23848494844100489/users', headers: {}, params: { access_token: 'ABC', @@ -907,7 +907,7 @@ export const data = [ version: '1', type: 'REST', method: 'POST', - endpoint: 'https://graph.facebook.com/v18.0/23848494844100489/users', + endpoint: 'https://graph.facebook.com/v20.0/23848494844100489/users', headers: {}, params: { access_token: 'ABC',