如何使用 JavaScript 向 Facebook 点赞按钮添加描述?

How can I add description to Facebook like button using JavaScript?

this article相关,我将像link这样的简单Facebook编码为:

<a href="JavaScript:window.open('http://www.facebook.com/sharer.php?u=http://jsfiddle.net','','width=657,height=400,scrollbars=1')">Like</a>

如何添加个人描述?

您不能使用 sharer.php anymore

使用 feed dialog is the easiest alternative, but for more features I'd advise using their custom OG stories API.

只需将所需的 Open Graph 标签添加到您要分享的link:

也就是说,如果您想添加一个 "message",那根本不可能,也不允许。消息必须始终 100% 由用户生成,不允许预填充。