简体   繁体   English

自定义facebook喜欢按钮

[英]Customize the facebook like button

I have put up my code in jsfiddle. 我已经将代码放在jsfiddle中。 The link is http://jsfiddle.net/QWAYE/1/ I have also put another sample code in this link http://jsfiddle.net/MCb5K/ The first link is working fine for me and i want to make it look like the second link but dont know what changes i need to do. 链接是http://jsfiddle.net/QWAYE/1/我还在此链接中添加了另一个示例代码http://jsfiddle.net/MCb5K/第一个链接对我来说很好用,我想让它看起来像像第二个链接,但不知道我需要做什么。 Please suggest what change i need to do. 请提出我需要做的改变。 Also i want to display only the number of person who likes the page and not the name. 我也只想显示喜欢该页面的人数而不是姓名。 Right now the name of person is displayed and not the number like how it is showing in the second link. 现在显示的是人名,而不是第二个链接中显示的人名。 How to do that? 怎么做?

Note: I dont want the send button and the rest of the text, only need like button and the number of likes 注意:我不希望发送按钮和其余文本,只需要点赞按钮和点赞次数

You can use the like plugin on the facebook developer page. 您可以在Facebook开发人员页面上使用like插件。 Go to this link and you will be able to display what you want on the facebook iframe. 转到此链接,您将可以在facebook iframe上显示您想要的内容。

http://developers.facebook.com/docs/reference/plugins/like/ http://developers.facebook.com/docs/reference/plugins/like/

You select layout style -> button_count 您选择布局样式-> button_count

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM