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

Missing shop product type #1182

Closed
TheFuseGamer opened this issue Nov 12, 2021 · 1 comment
Closed

Missing shop product type #1182

TheFuseGamer opened this issue Nov 12, 2021 · 1 comment
Assignees
Milestone

Comments

@TheFuseGamer
Copy link

Hello, when I share a product from Facebook shop I get the following webhook payload

{ "object": "page", "entry": [ { "id": "page id", "time": 1636729432317, "messaging": [ { "sender": { "id": "send id" }, "recipient": { "id": "page id" }, "timestamp": 1636729431949, "message": { "mid": "m_id", "text": "text sent along with the product", "attachments": [ { "type": "template", "payload": { "product": { "elements": [ { "id": "12345678910", "retailer_id": "123456", "image_url": "https://scontent.xx.fbcdn.net/v/...", "title": "product name", "subtitle": "product price as a string" } ] } } } ] } } ] } ] }

I can't seem to find a way to handle this.

@nbartels
Copy link
Contributor

nbartels commented Nov 12, 2021

It looks like a messenger object ... interesting. I'll check this.

Update: found in docs https://developers.facebook.com/docs/messenger-platform/reference/webhook-events/messages

@nbartels nbartels self-assigned this Nov 12, 2021
@nbartels nbartels added this to the 3.24.0 milestone Nov 12, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 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