From 54f75387eb099730ca67369fc7b88b82c856e1b2 Mon Sep 17 00:00:00 2001 From: debu-2 Date: Wed, 7 Oct 2026 23:46:23 +0530 Subject: [PATCH] meta embed fixes --- frontend/src/features/whatsapp/WhatsAppSetupPage.tsx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/frontend/src/features/whatsapp/WhatsAppSetupPage.tsx b/frontend/src/features/whatsapp/WhatsAppSetupPage.tsx index 697f6b6..e886168 100644 --- a/frontend/src/features/whatsapp/WhatsAppSetupPage.tsx +++ b/frontend/src/features/whatsapp/WhatsAppSetupPage.tsx @@ -308,10 +308,7 @@ export function WhatsAppSetupPage() { config_id: config.config_id, response_type: 'code', override_default_response_type: true, - extras: { - version: 'v4', - setup: {}, - }, + extras: {}, }, ) } catch (reason) { @@ -408,7 +405,7 @@ export function WhatsAppSetupPage() { {config?.ready && ( - If Meta shows “JSSDK Option is Not Toggled”, turn on Login with the JavaScript SDK under Facebook Login for Business → Settings, and add this site’s HTTPS domain to Allowed domains and Valid OAuth redirect URIs. + If Meta shows a blank “Sorry, something went wrong” page, add https://urmiai.com and https://urmiai.com/console/whatsapp to Valid OAuth redirect URIs, allow urmiai.com for the JavaScript SDK, and confirm configuration 1871678794201108 was created as WhatsApp Embedded Signup. )}