Facebook API Share open graph Issues

痞子三分冷 提交于 2019-12-02 10:09:39

问题


Since a few days ,

Facebook share via the implementation of share_open_graph no longer works correctly. Its seems it's the open graphs metatags found on the og:url which are scraped.

Is anyone having the same issue ?

                FB.ui({
                    method: 'share_open_graph',
                    action_type: 'og.shares',
                    action_properties: JSON.stringify({
                        object: {
                            'og:url': FBLink,
                            'og:title': FBTitle,
                            'og:description': FBDesc,
                            'og:image': FBPic,
                            'og:locale': 'fr_FR',
                            'og:image:width': 540,
                            'og:image:height': 281
                        }
                    })
                }, function (response) {
                    // Action after response
                })

来源:https://stackoverflow.com/questions/55901886/facebook-api-share-open-graph-issues

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!