1

I am currently using the javascript Facebook share dialog API version 3.2 as follows:

FB.ui(
  {
        method: "share_open_graph",
        action_type: "og.likes",
        action_properties: {
            object: {
                "og:title": "Test Title",
                "og:description": "Test description here",
                "og:image": "https://url-to-image-here",
                "og:url": "https://google.com"
            }
        }
    },
    (fbResponse: any) => {
        // handle response here.
    }
);

When i include the og:url with a non-empty value, I keep getting the following response when the dialog loads regardless of the url I use:

Facebook response with og:url defined

If I do not define the og:url or assign it an empty string, the dialog loads and shows a preview of the post as expected. However, when I complete the post and view it on Facebook, it will not link to my desired url, since I had to exclude it to make it work.

If anyone else has experienced this issue and knows how to resolve it, please let me know. I have been looking around for a solution for days now and I'm all out of ideas...

Jeramy Usher
  • 31
  • 1
  • 6
  • might be related to this: https://stackoverflow.com/questions/55901886/facebook-api-share-open-graph-issues#comment98462822_55901886 - i assume facebook finally got rid of those action properties. – andyrandy May 01 '19 at 08:44
  • ref (1): https://stackoverflow.com/questions/55901886/facebook-api-share-open-graph-issues ref (2): https://stackoverflow.com/questions/56006196/how-do-i-share-dynamic-content-using-facebook-sdk-in-angularjs ref (3): https://stackoverflow.com/questions/55870767/facebook-stops-custom-parameters-image-title-description-through-fb-ui ... can anyone share this annonucement from FB? – Akber Iqbal May 29 '19 at 08:09

0 Answers0