因為新版的語法不支援了
The new FB API does not support “share_open_graph”, only the following syntax is supported.
現在只支援 :
app_id |
redirect_uri |
display |
from |
to |
link |
source |
ref |
FB.ui({ method: 'feed', name: 'Come Listen to this Song', //unsupported link: url_base + '/listen', picture: self._song.share_img, //unsupported caption: 'mywebsite.com', //unsupported description: msg, //unsupported message: msg //unsupported }, function(response){});
FB.ui({ method: "share_open_graph", //unsupported action_type: "og.shares", //unsupported action_properties: JSON.stringify({ //unsupported object: { //unsupported //unsupported "og:url": FBLink, //unsupported "og:title": FBTitle, //unsupported "og:description": FBDesc, //unsupported "og:image": FBPic //unsupported } }) },function (response) {});
@copyright MRcodingRoom
觀看更多文章請點MRcoding筆記
觀看更多文章請點MRcoding筆記