简体   繁体   English

如何设置Facebook评论插件的样式,例如“真实” Facebook评论?

[英]How to style the Facebook comments plugin, like 'real' Facebook comments?

I'm trying to write a Facebook app that supports comments that look like native facebook comments. 我正在尝试编写一个Facebook应用程序,该应用程序支持看起来像本机Facebook评论的评论。

The comments plugin does not use the same styling that is used throughout the Facebook site. 评论插件使用的样式与整个Facebook网站使用的样式不同。

Setting a custom comments stylesheet has been deprecated (June, 2012) in favour of their new plugin system that puts everything in an iframe. 不建议设置自定义评论样式表(2012年6月),而推荐使用其新插件系统将所有内容放入iframe。

What should I do? 我该怎么办?

Thanks 谢谢

First: If you want to copy something without the usage of a social plugin, be careful with the design guidelines of facebook: 第一:如果您想在不使用社交插件的情况下复制某些内容,请注意facebook的设计准则:

https://www.facebook.com/brandpermissions/index.php https://www.facebook.com/brandpermissions/index.php

That being said, you already answered your question. 话虽如此,您已经回答了您的问题。 Custom stylesheets are deprecated, so you can only change the colorscheme (dark/light) of the comments plugin. 自定义样式表已弃用,因此您只能更改注释插件的颜色方案(深色/浅色)。 The only way to make it look like facebook is to program it on your own. 使它看起来像facebook的唯一方法是自行编程。 Which will never be the same, unfortunately, because the social plugin doesn´t even need the user to authorize any app for commenting... 不幸的是,这将永远不会相同,因为社交插件甚至不需要用户授权任何应用程序来发表评论...

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

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