我制作了一个这样的网址来在 Facebook 上分享视频。
<a href="http://www.facebook.com/share.php?u=http://streetinvasion.com/test/&t=Faulkner+-+Smuggle+your+media" class="smgl_vid">share this</a>
它的工作,但我需要获得成功回调来跟踪是否有人真的分享它。请给我解释或提供我完整的过程。谢谢
我制作了一个这样的网址来在 Facebook 上分享视频。
<a href="http://www.facebook.com/share.php?u=http://streetinvasion.com/test/&t=Faulkner+-+Smuggle+your+media" class="smgl_vid">share this</a>
它的工作,但我需要获得成功回调来跟踪是否有人真的分享它。请给我解释或提供我完整的过程。谢谢
The facebook share button (or the share url) is deprecated, you can read it in the docs:
The Share button has been deprecated in favor of the Like button, and will no longer be supported. Please use the Like button whenever possible to drive maximum traffic to your apps.
(reference: http://developers.facebook.com/docs/share/)
What happened to the old Share button?
We deprecated the Share Button when we launched the Like button, because the Like button improves clickthrough rates by allowing users to connect with one click, and by allowing them to see which of their friends have already connected.
(reference: http://developers.facebook.com/docs/reference/plugins/like/)
Use the like button instead of the share and then register to the edge.create event using FB.Event.subscribe, something like:
FB.Event.subscribe('edge.create',
function(response) {
alert('You liked the URL: ' + response);
}
);