0

我试图使用共享按钮向Facebook添加消息,我成功添加了缩略图和说明,但不知道要将文本添加到消息框的标记。这可能吗?将文本添加到Facebook消息框,以通过共享按钮打开对话框

我使用ASP.NET框架3.5 Screenshot of sharing dialog

这里是我的代码

<html xmlns="http://www.w3.org/1999/xhtml"> 
<head runat="server"> 
    <title></title> 
    <script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share\" type="text/javascript"></script> 
    <meta name="description" content="<%=GetText() %>" /> 
    <link rel="image_src" href="http://www.murrayhilltech.com/images/LogoColorNoText.jpg" /> 
</head> 
<body> 
    <form id="form1" runat="server"> 
    <div> 
    <a name="fb_share" type="button" share_url="<%=GetURL() %>">Facebook</a> 
    </div> 
    </form> 
</body> 
</html> 

回答

0

现在,这个使用Share Button社会Widget是不可能的。

即使在Feed Dialogmessage现在被忽略,从Feed Dialog documentation举这个领域。

本场将于2011年7月12日,预填的文本字段,用户将输入的信息被忽略,以要符合Facebook平台政策,如果用户在工作流程的早期手动生成内容,您的应用程序可能只会设置此字段。大多数应用程序不应该设置它。

只能通过FB.api(JS-SDK)填充message现场或通过Graph API publishing如果用户授予权限publish_stream您的应用程序。