简体   繁体   English

Facebook分享自定义消息字段

[英]Facebook Share Customize Message Field

How can I customize the message field with Facebook share... You used to be able able to use one of the share URLs with a ?message= parameter but that no longer works... Here is what I currently use for the contents but I can't change the users default post: 如何使用Facebook共享自定义消息字段...您曾经能够使用带有?message =参数的共享URL之一,但不再起作用...这是我目前用于内容的内容,但我无法更改用户的默认帖子:

<a href="http://www.facebook.com/sharer.php?u=URL&t=TITLE">FBshare</a>

Using URL-Javascript I can alter the innerHTML of the post-field's text-area after I have gone to the URL... but I guess I can't send that information after the user has gone to the Facebook URL and left my page right? 使用URL-Javascript,我可以在转到URL后更改后字段的文本区域的innerHTML ...但是我想在用户转到Facebook URL并离开我的页面后,我无法发送该信息对?

I do believe that the old sharer.php is in the process of being deprecated. 我确实相信旧的sharer.php正在被弃用。

You should convert over to using the send plugin https://developers.facebook.com/docs/reference/plugins/send/ 您应该转换为使用发送插件https://developers.facebook.com/docs/reference/plugins/send/

or the like plugin https://developers.facebook.com/docs/reference/plugins/like/ 或类似的插件https://developers.facebook.com/docs/reference/plugins/like/

Make sure your Open Graph meta tags are in order (this is where you specify title) See https://developers.facebook.com/docs/opengraph/ 确保您的“打开图”元标记顺序正确(在此处指定标题),请参见https://developers.facebook.com/docs/opengraph/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM