Upgrade facebook-custom-audiences to Facebook Graph API v23.0 #3169
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.
This PR upgrades the Facebook Custom Audiences destination from Facebook Graph API v21.0 to v23.0 as requested in the issue.
Changes Made
Updated the API version constants in
packages/destination-actions/src/destinations/facebook-custom-audiences/constants.ts
:API_VERSION
:'v21.0'
→'v23.0'
CANARY_API_VERSION
:'v21.0'
→'v23.0'
Testing
All existing tests continue to pass (61 tests total), confirming that:
The destination's existing functionality remains intact while now utilizing the newer Facebook Graph API version.
Fixes #3168.
Warning
Firewall rules blocked me from connecting to one or more addresses
I tried to connect to the following addresses, but was blocked by firewall rules:
formulae.brew.sh
/bin/curl -q --fail --compressed --silent --speed-limit 100 --speed-time 5 --location --remote-time --output /home/REDACTED/.cache/Homebrew/api/formula.jws.json --user-agent Linuxbrew/4.6.3 (Linux; x86_64 Ubuntu 24.04.2 LTS) curl/8.5.0 REDACTED
(dns block)/bin/curl -q --fail --compressed --silent --speed-limit 100 --speed-time 5 --location --remote-time --output /home/REDACTED/.cache/Homebrew/api/cask.jws.json --user-agent Linuxbrew/4.6.3 (Linux; x86_64 Ubuntu 24.04.2 LTS) curl/8.5.0 REDACTED
(dns block)/bin/curl -q --fail --compressed --silent --speed-limit 100 --speed-time 5 --location --remote-time --output /home/REDACTED/.cache/Homebrew/api/formula_tap_migrations.jws.json --user-agent Linuxbrew/4.6.3 (Linux; x86_64 Ubuntu 24.04.2 LTS) curl/8.5.0 REDACTED
(dns block)https://api.github.com/repos/Homebrew/brew/tags
/bin/curl -q --silent --max-time 3 --location --no-remote-time --output /dev/null --write-out %{http_code} --dump-header /home/linuxbrew/.linuxbrew/Homebrew/.git/GITHUB_HEADERS --user-agent Linuxbrew/4.6.3 (Linux; x86_64 Ubuntu 24.04.2 LTS) curl/8.5.0 --header X-GitHub-Api-Version:2022-11-28 --header Accept: application/vnd.github+json --header If-None-Match: "" REDACTED
(http block)If you need me to access, download, or install something from one of these locations, you can either:
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.