我添加了这个元,<head></head>
但共享对话框找不到它??
<meta property="og:title" content="TEST PILOT: test"/>
<meta property="og:url" content="[YOUR URL]"/>
<meta property="og:description" content="TEST PILOT: description"/>
<meta property="og:image" content="http://www.rockomole.com/2012/blog/2012/may/03.jpg"/>
分享按钮代码:
<a href="#"
onclick="
window.open(
'https://www.facebook.com/sharer/sharer.php?u='+encodeURIComponent(location.href),
'facebook-share-dialog',
'width=626,height=436');
return false;">
Share on Facebook
</a>