I have an in game economy to be purchased via Facebook.
There are 4 items, and one of them works and the other 3 do not.
The failures (FB.Canvas.Pay part of the workflow) complain:
"{"callback_id":"14","response":{"error_code":1383146,"error_message":"invalid og type. Expected og:product, got website"}}
The payment url is:
https://7377.playfabapi.com/OpenGraphProduct/7377/facebook/GamePacks/goat.bundle.basic.pack
The four products are defined as bundles, and look identical in the Catalog Editor, except for their names and RM values. The bundles are contained in a store called "facebook". The catalog is called "GamePacks".
I'm assuming that the URL above serves this data with the required OpenGraph tags but I see no way to define those tags explicitly.
Again, 1 product succeeds while the other 3 fail. Here is the CURL output from an OpenGraph scrape:
{ "share": { "comment_count": 0, "share_count": 0 }, "og_object": { "id": "1268394159860632", "title": "HERD", "type": "product", "updated_time": "2018-01-18T19:11:39+0000" }, "id": "https:\/\/7377.playfabapi.com\/OpenGraphProduct\/7377\/facebook\/GamePacks\/goat.bundle.basic.pack" } { "share": { "comment_count": 0, "share_count": 0 }, "og_object": { "id": "1813020502073001", "type": "website", "updated_time": "2018-01-17T10:30:13+0000" }, "id": "https:\/\/7377.playfabapi.com\/OpenGraphProduct\/7377\/facebook\/GamePacks\/goat.bundle.medium.pack" }, { "share": { "comment_count": 0, "share_count": 0 }, "og_object": { "id": "2170325536314645", "type": "website", "updated_time": "2018-01-18T21:15:33+0000" }, "id": "https:\/\/7377.playfabapi.com\/OpenGraphProduct\/7377\/facebook\/GamePacks\/goat.bundle.advanced.pack" }, { "share": { "comment_count": 0, "share_count": 0 }, "og_object": { "id": "1781134185291224", "type": "website", "updated_time": "2018-01-18T16:56:45+0000" }, "id": "https:\/\/7377.playfabapi.com\/OpenGraphProduct\/7377\/facebook\/GamePacks\/goat.bundle.premium.pack" }
It's clear that the first, succeeding item has the proper type of "product" while the other 3 failing items are typed as "website".
The Facebook object debugger confirms this also:
https://developers.facebook.com/tools/debug/og/object/
I've search thru the docs and can't find anything related to this issue.. any help is appreciated.