Setup & Configuration
Prerequisites
- Facebook App ID configured
- WhatsApp Business Account linked
- Embedded signup config ID created
- Webhook endpoint configured
Configuration Steps
- Get your Config ID from Facebook Developer Console
- Add it to environment variables or settings
- Configure webhook for signup callbacks
- Test with the demo button below
Integration Status
Facebook App ID:
✗ Pending
Config ID:
✗ Pending
WhatsApp API:
✓ Active
Guest Sync:
⧗ Ready
Integration Flow:
1. Guest Signup: Guest clicks "Sign up with Facebook"
2. Facebook Auth: User authenticates via Facebook
3. WhatsApp Onboard: WhatsApp business account details captured
4. Data Sync: Guest info synced to event invitees
5. Confirmation: Welcome message sent via WhatsApp
Implementation Reference
Expected Response Data (on FINISH)
{
"type": "WA_EMBEDDED_SIGNUP",
"event": "FINISH",
"data": {
"phone_number_id": "123456789",
"waba_id": "987654321",
"name": "Guest Name",
"email": "
[email protected]"
}
}
Guest Sync Example
// After signup completes:
POST /facebook_signup/sync.php
{
"phone_number_id": "123456789",
"waba_id": "987654321",
"event_id": 0,
"name": "Guest Name",
"phone": "+62812345678"
}
Note: The signup response is handled via postMessage API.
Phone numbers are normalized and synced to existing WhatsApp API integration.