与心情分享

Facebook Share with Mood

我添加了一个 HTML Link 用于共享内容,传递我自己的内容。是否可以设置心情? 它应该只保留 HTML,没有 JS。

我希望有类似“&mood=reading”的参数。

<a href="https://www.facebook.com/dialog/feed?app_id=1111111111111111&display=popup&message=test&summary=test2&link=http%3A%2F%2Fwww.google.com%2F&description=Lorem ipsum dolor sit amet&picture=https://placeholdit.imgix.net/~text?txtsize=33&txt=350%C3%97150&w=350&h=150&name=myName&caption=my%20fancy%20caption&redirect_uri=google.de&mood=reading" target="_blank" title="Share on Facebook">Share on Facebook</a>

祝一切顺利!

I've added a HTML Link for sharing Content, passing my own contents. Is it possible to set a mood?

不,使用 Feed 对话框是不可能的 - 但 Share 对话框似乎提供了这一点,至少根据文档中的屏幕截图:https://developers.facebook.com/docs/sharing/reference/share-dialog

但请注意,共享对话框采用的 参数是要共享的 URL - 其他所有内容均取自 [=28] 的 OG 元标记=] 回应。

I'd expect something like "&mood=reading" param.

用户必须select自己的心情,你不能从他们那里指定。

(对于您尝试在 Feed 对话框调用中传递的 message 参数也是如此 - 它只会被忽略。无论您选择 sharing/posting 的哪种方式,您都是 不允许为用户指定消息部分,他们必须自己输入。)