自定义消息facebook分享按钮

时间:2014-04-25 21:21:14

标签: c# asp.net facebook-sharer

我想要一个自定义的Facebook分享按钮,我可以根据整个页面中的用户选择每次编辑其中的消息。

诀窍是这条消息不是静态的,应该是动态的,我一直在处理元标记的分享按钮,但无法设法得到我想要的东西。

我该怎么做?

编辑:代码......

<meta property="og:title" content="Event Based Social Media" /> 
<meta property="og:description" content="This is a test message from a project that connects people by creating events and notify them. Developers #METUNCC Aral, Atik, Cem, Izzet." /> 
<meta property="og:image" content="http://www.socialmedianews.com.au/wp-content/uploads/2010/06/social-media-crime-event-sydney-ark-group-australia-june-28-29-worldsquare-rydges-sydney.png" />



 <a name='fb_share' type='button_count' href='http://www.facebook.com/sharer.php?appId={YOUR APP ID}&link=<?php the_permalink() ?>' rel='nofollow'>Share</a><script src='http://static.ak.fbcdn.net/connect.php/js/FB.Share' type='text/javascript'></script>

0 个答案:

没有答案