fb:login_button在45秒内无法调整大小 [英] fb:login_button failed to resize in 45s
问题描述
我尝试实现异步加载Facebook登录按钮,但按钮在 45秒后消失。
I attempted to implement an asynchronous loading Facebook log in button, but the button disappeared after 45 seconds.
这是消息我在错误控制台中:
This is the message I got in the error console:
FB:login_button在45秒内无法重新设置
FB:login_button failed to re-size in 45s
有人可以告诉我一种方法来解决这个错误吗?
Can someone show me a way to solve this bug?
推荐答案
Matt Bower从Facebook开发者论坛提供了这个临时解决方案:
Matt Bower from Facebook developer's forum gave this temporary solution:
#fb_login_button {
width: 80px;
}
#fb_login_button span,
#fb_login_button iframe {.
width: 80px !important;
height: 25px !important;
}
Facebook Dev正在努力修复此错误。
Facebook Dev's are working to fix this error.
只是因为我没有为别人的回答而信用,原来的答案可以在这里找到:
Chrome登录(连接)按钮在chrome中的渲染失败
just so I'm not taking credit for someone else's answer the original answer can be found here: Facebook login (connect) button rendering in chrome fails
这篇关于fb:login_button在45秒内无法调整大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!