直接在 Facebook 上分享
这可能看起来很愚蠢或无关紧要,但问题是: 我想制作一个按钮,它将直接在 facebook(和/或 twitter)上分享网址和标题。我的意思是,无需访问 Facebook 的标准共享窗口。
作为另一种选择,我想到了: 当您单击共享按钮时,将打开 Facebook 和/或 Twitter 共享窗口。我想将这些窗口包含在一个窗口中。然而,当我使用 iframe 时,我面临两个空边框。除了这两个框架之外,我想添加一个按钮,单击时,该网址将在 Facebook 和 Twitter 上共享。 这些可能或允许吗?如果是这样我该怎么做。请帮助我,我很困难
this might seem stupid or irrelevant but problem is:
I want to make aa button, which is going to share the url and title on facebook(and/or twitter) directly. I mean, without visiting the standard share window of facebook.
As another option, I thought about:
when you click on a share button, facebook and/or twitter share windows are opened. I want to include those windows in a single one. however when I use iframes, I face two empty borders. along with those two frames I would like to add a button, when clicked, the url will be shared on both fb and twitter.
are those possible or allowed? if so how may I do this. please help me I'm so stuck
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果没有该窗口,您就无法进行共享,除非用户已授权您的网站代表他在 Facebook 上发帖。 查看这篇文章了解如何操作
You can't share without the window, unless the user have authorized your site to post to Facebook in his behalf. Check this post on how to do it