自定义Facebook就像CSS停止工作的盒子一样 [英] Customize Facebook Like Box With CSS Stopped Working

查看:50
本文介绍了自定义Facebook就像CSS停止工作的盒子一样的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

几个月前,我成功地定制了一个像box这样的facebook.突然,它停止了工作-它只是忽略了css文件.我希望有人可以看到我在做什么错.这是完整的代码:

A few months ago, I had successfully customized a facebook like box. All of a sudden, it stopped working -- it is simply ignoring the css file. I'm hoping that someone can see what I'm doing wrong. Here is the complete code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<body>
<script type="text/javascript"
src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php/en_US"></script> 
<script type="text/javascript">FB.init("426348664054039");</script>
<fb:fan profile_id="106491872816751" stream="0" connections="10" width="300px" height="300px"
header="0" logobar="0"   css="myfile.css"></fb:fan>
</body>
</html>

我将代替指向一个工作示例"的链接来代替我,而不是试图帮助我解决我的示例!我看到一个网站一个接一个地解释如何执行此操作,但其中一个网站实际上都没有发布一个有效的示例-仅提供了屏幕截图.嘘.那些谁不能教?如果我听起来很苦,那是因为我在这个月前花了4个小时,而现在,突然之间,这个星期它才停止工作.我的其他FB编程经验也相似:由于恐怖的文档工作,数小时完成简单的任务,然后一天,day!停止工作.我讨厌脸书.

Instead of someone trying to help me fix my example, I'll settle for a link to ONE WORKING EXAMPLE!!! I am seeing one website after another explaining how to do this, and NOT ONE of them actually posts a working example -- only screenshots. Sheesh. Those who can't, teach? If I sound bitter, it's because I spent 4 hours on this months ago, and now, all of a sudden, poof, it just stopped working this week. And my other FB programming experiences have been similar: hours to do straightforward tasks, due to horrendous documentation, and then one day, poof! Stops working. I HATE FACEBOOK.

我搜寻了更多内容,结果发现CSS不再起作用,因为fb改变了他们的一些编程!所以到厕所下了6个小时.仇恨不再足以形容我现在对facebook的感受.

I hunted around some more, and it turns out that the CSS NO LONGER WORKS, since fb has changed some of their programming!! So that's 6 hours down the toilet. HATE is no longer a strong enough word to describe how I now feel about facebook.

已解决:显然,此功能已在2013年1月20日左右停止工作.截至2013年2月6日,由于受到大众欢迎,facebook似乎已纠正了该问题!

SOLVED: Apparently, this feature stopped working around January 20, 2013. As of Feb. 6, 2013, it seems that facebook has corrected the problem, due to popular demand!

推荐答案

Facebook删除了将自定义CSS嵌入到likebox的选项.

Facebook has removed the option of embeding custom css into the likebox.

出于安全考虑,他们这样做是因为问题跟踪器中的主要故障单在这里:

They have done this because of security implications, the main ticket in the issue tracker is here:

https://developers.facebook.com/bugs/134065666769816

这里还有另外两张有关此事的票证:

Here are two more tickets discussing it:

http://developers.facebook.com/bugs/551565398209379

https://developers.facebook.com/bugs/252607348205681/

这篇关于自定义Facebook就像CSS停止工作的盒子一样的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆