问题
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