以下是我现在用来在Facebook上分享我的状态的代码。问题是描述不是在facebook状态字段中自动填充。
当用户点击此链接时,会将其带到共享状态页
<a target="_blank" href="http://www.facebook.com/sharer/sharer.php?u=http://www.4fj.com.fj/get-involved/take-the-pledge/" class="share_button share_fb"></a>
是的,我确实拥有所有必要的facebook元标记
<meta property="og:title" content="<?php echo the_title(); ?>" />
<meta property="og:description" content="I made the #4FJ pledge to not eat, buy or sell kawakawa and donu during the june-sept spawning season. Check out my pledge and others at http://www.4fj.com.fj/get-involved/our-pledgers. Then join the movement." />
<meta property="og:image" content="<?php echo get_template_directory_uri(); ?>/logo.jpg" />
<meta property="og:url" content="<?php echo curPageURL(); ?>" />
我是做某事还是缺少什么?
答案 0 :(得分:0)
https://www.facebook.com/sharer/sharer.php?u=http://www.4fj.com.fj/get-involved/take-the-pledge
它适合我。你可以查看链接。