Skip to content

Add missing business messaging fields to UserData#649

Open
xDemonME wants to merge 4 commits intofacebook:mainfrom
inova-media:feat/add-whatsapp-and-page-scoped-user-data
Open

Add missing business messaging fields to UserData#649
xDemonME wants to merge 4 commits intofacebook:mainfrom
inova-media:feat/add-whatsapp-and-page-scoped-user-data

Conversation

@xDemonME
Copy link
Copy Markdown

@xDemonME xDemonME commented Apr 20, 2026

Summary

This PR adds support for additional business messaging fields in ServerSide\UserData:

  • whatsapp_business_account_id
  • page_scoped_user_id
  • ig_account_id
  • ig_sid

These fields are documented for Conversions API for Business Messaging but are currently missing from the PHP Business SDK.

The change includes:

  • new properties in UserData
  • setter methods for the new fields
  • serialization support in normalize()

This is a backward-compatible additive change.

Documentation reference:
https://developers.facebook.com/documentation/ads-commerce/conversions-api/business-messaging

@meta-cla meta-cla Bot added the CLA Signed label Apr 20, 2026
@xDemonME xDemonME changed the title Feat/add whatsapp and page scoped user data Add missing business messaging user_data fields to UserData Apr 20, 2026
@xDemonME xDemonME changed the title Add missing business messaging user_data fields to UserData Add missing business messaging fields to UserData Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant