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

Support for onBehalfOfBusinessInfo field in WhatsAppBusinessAccount #1195

Closed
maganth-seetharaman opened this issue Feb 9, 2022 · 8 comments
Assignees
Milestone

Comments

@maganth-seetharaman
Copy link

The onBehalfOfBusinessInfo field is commented stating the field "is not defined in Graph API reference"

The field is now defined in WhatsAppBusinessAccount Graph API reference.
Would like to know if it is possible to support this field.

@maganth-seetharaman maganth-seetharaman changed the title Support for onBehalfOfBusinessInfo field in WhatsAppBusinessAccount object Support for onBehalfOfBusinessInfo field in WhatsAppBusinessAccount Feb 9, 2022
@nbartels
Copy link
Contributor

nbartels commented Feb 9, 2022

The problem here is, that the WABAOnBehalfOfComputedInfo is not defined in the Facebook API reference. So I have no idea how it looks like. I could use a JsonObject, but I'm not sure if this is usable. If you have a link to a description or you can send me the metadata I can add it in one of the next releases.

@maganth-seetharaman
Copy link
Author

This is the response for the field we are receiving currently

"on_behalf_of_business_info": {
     "name": "STRING",
     "id": "STRING",
     "status": "STRING",
     "type": "STRING"
}

@nbartels nbartels self-assigned this Feb 9, 2022
@nbartels nbartels added this to the 2022.3.0 milestone Feb 9, 2022
@maganth-seetharaman
Copy link
Author

When is the expected/estimated release of 2022.3.0?

@nbartels
Copy link
Contributor

nbartels commented Feb 9, 2022

Hopefully until tomorrow (CET) 😎

Update: it is released now.

@nbartels nbartels closed this as completed Feb 9, 2022
@maganth-seetharaman
Copy link
Author

maganth-seetharaman commented Feb 9, 2022

Wow that was fast.
Thanks for quick support

@maganth-seetharaman
Copy link
Author

maganth-seetharaman commented Feb 14, 2022

@nbartels Seems like the JSON key name for on_behalf_of_business_info is set as WABAOnBehalfOfComputedInfo. Hence the response is not getting properly parsed.

Will it possible to fix this issue?

nbartels added a commit that referenced this issue Feb 14, 2022
@nbartels
Copy link
Contributor

@maganth-seetharaman you can check the 2022.3.1 now, it is fixed there 😎

@maganth-seetharaman
Copy link
Author

maganth-seetharaman commented Feb 15, 2022

Thank you so much for the quick fix

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants