使用“赞”按钮
我想将 Facebook LIKE 按钮添加到网站页面。有几点:-
- 网页有图像背景,所以我想要背景 LIKE 按钮是透明的。面子书创作的基本工具 该按钮仅允许深色或浅色背景。我该如何改变 那?
- 该网页有很多新闻,我想使用 LIKE 每个新闻项目后面的按钮,以便只有该项目出现在用户上 FB 页面。我是否可以简单地调整 FB 代码中的 URL? 工具返回?
I want to add the Facebook LIKE button to a page on a website. There are a couple of points:-
- The webpage has an image background so I want the background to the
LIKE button to be transparent. The basic tool on face book to create
the button only allows a dark or light background. How can I change
that? - The webpage has a number of news items and I want to use the LIKE
button after each news item so only that item appears on the users
FB page. Am I simply able to adjust the URL in the code that the FB
tool returns?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
根据此线程,“喜欢”按钮的样式选项有限:
Custom Skin for facebook like按钮
这将实现您尝试使用“共享”按钮执行的操作:
The "Like" button has limited options for styling according to this thread:
Custom skin for facebook like button
This will achieve what you are trying to do using a "Share" button:
Facebook 故意删除了“点赞”按钮的样式,并且我们只能有限地更改它(只有淡色/深色)。请参阅此帖子:http://forum.developers.facebook.net/viewtopic.php ?pid=236534
如果您使用 back machine,您可以看到过去如何通过添加 css 参数来设置按钮的样式。
Styling of the like button was intentionally removed by Facebook and they give us limited availability to change it (just lite/dark). See this post: http://forum.developers.facebook.net/viewtopic.php?pid=236534
And if you use the way back machine, you can see how you used to be able to style the button by adding the css parameter.