我需要在帖子中添加文字,然后使用:
https://www.facebook.com/sharer/sharer.php?app_id= ***&sdk = joey&u = http://www.ansa.com/&display=popup&ref=plugin&src=share_button “
当某人单击该按钮时,我需要添加一个文本,然后他们打开了一个用户可以共享的窗口。有人可以帮助我吗?
分享不会允许的。它将从链接中获取og标签,并在对话框中填充内容。
如果要添加定制的描述/图片/标题,则应使用Feed Dialog。
https://www.facebook.com/dialog/feed?
app_id=1438439249728371
&display=popup
&caption={caption}
&link={link-to-share}
&description={description}
&redirect_uri={redirect-url-to-your-site}
在此处查看更多详细信息:
https://developers.facebook.com/docs/sharing/reference/feed-dialog/v2.3#params
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句