-
Notifications
You must be signed in to change notification settings - Fork 36
Update to a recent FB graph API version #6265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6265 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 506 506
Lines 25074 25074
=========================================
Hits 25074 25074 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Without activity, this PR will be closed in 14 days. |
4f3456f to
6ee892f
Compare
|
Without activity, this PR will be closed in 14 days. |
|
Without activity, this PR will be closed in 14 days. |
6ee892f to
80d0508
Compare
80d0508 to
93e0e1b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR updates the Facebook Graph API version from v18.0 to v22.0 across Facebook, Instagram, and WhatsApp Cloud channel integrations.
Key Changes:
- Updated Graph API version references in JavaScript SDK initialization and OAuth dialog URLs
- Updated all Graph API endpoint URLs in Python backend code for channel claiming, token refresh, and webhook management
- Updated corresponding test assertions to match the new API version
Reviewed changes
Copilot reviewed 16 out of 16 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| templates/channels/types/whatsapp/connect.html | Updated FB SDK version and OAuth dialog URLs to v22.0 |
| templates/channels/types/whatsapp/claim.html | Updated OAuth dialog URLs to v22.0 |
| templates/channels/types/instagram/refresh_token.html | Updated FB SDK version to v22.0 |
| templates/channels/types/instagram/claim.html | Updated OAuth dialog URLs to v22.0 |
| templates/channels/types/facebook/refresh_token.html | Updated FB SDK version to v22.0 |
| templates/channels/types/facebook/claim.html | Updated OAuth dialog URLs to v22.0 |
| temba/request_logs/tests.py | Updated test assertions for Graph API URLs to v22.0 |
| temba/channels/types/whatsapp/views.py | Updated Graph API endpoint URLs for token debug, user assignment, phone verification, and registration to v22.0 |
| temba/channels/types/whatsapp/type.py | Updated Graph API endpoint URLs for WABA subscription and phone registration to v22.0 |
| temba/channels/types/whatsapp/tests.py | Updated test assertions and mock response data to v22.0 |
| temba/channels/types/instagram/views.py | Updated Graph API endpoint URLs for token debug, account fetching, and app subscription to v22.0 |
| temba/channels/types/instagram/type.py | Updated Graph API endpoint URL for app deactivation to v22.0 |
| temba/channels/types/instagram/tests.py | Updated test assertions to v22.0 |
| temba/channels/types/facebook/views.py | Updated Graph API endpoint URLs for token debug, account fetching, and app subscription to v22.0 |
| temba/channels/types/facebook/type.py | Updated Graph API endpoint URLs for app deactivation and messenger profile management to v22.0 |
| temba/channels/types/facebook/tests.py | Updated test assertions to v22.0 |
No description provided.