Skip to content
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

[WhatsApp connector] deprecation of the on-premises API #1863

Open
Fabilin opened this issue Mar 6, 2025 · 0 comments
Open

[WhatsApp connector] deprecation of the on-premises API #1863

Fabilin opened this issue Mar 6, 2025 · 0 comments

Comments

@Fabilin
Copy link
Member

Fabilin commented Mar 6, 2025

TOCK currently provides two different connectors for the WhatsApp platform:

However, Meta has now deprecated its on-premises API. The final compatible version of the WhatsApp client came out in January, and will expire on October 23, 2025.

Due to the retirement of the on-premises API, the legacy whatsapp connector will soon become unusable. This issue is here to discuss ways to handle this obsolescence.

Proposed actions

Short term, I would suggest deprecating all methods in the legacy WhatsApp connector very soon, if possible for version 25.3.0. This deprecation should be accompanied by a notice of the API retirement, as well as a suggestion to switch to the whatsapp-cloud connector.

Longer term, considering WhatsApp will end up supporting only the cloud API, I believe we should merge tock-bot-connector-whatsapp-cloud into tock-bot-connector-whatsapp. This merge could happen in 4 phases:

  1. Methods in the whatsapp connector start delegating to their equivalents in the whatsapp-cloud connector. The two connector modules become equivalent in functionality. At this stage, tock-bot-connector-whatsapp has a dependency on tock-bot-connector-whatsapp-cloud.
  2. The whatsapp cloud connector methods get deprecated, and their implementation moves over to the regular whatsapp connector. The dependency swaps around, tock-bot-connector-whatsapp-cloud depends on tock-bot-connector-whatsapp.
  3. A database migration job is added to convert all "WhatsApp Cloud" application configurations to "WhatsApp" configurations
  4. We retire tock-bot-connector-whatsapp-cloud, leaving only an updated tock-bot-connector-whatsapp module with the same functionality.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant