Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

fb:login_button failed to resize in 45s

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 failed to re-size in 45s

Can someone show me a way to solve this bug?

like image 944
Iforce Pro Avatar asked May 30 '13 10:05

Iforce Pro


2 Answers

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's are working to fix this error.

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

like image 110
Willerton Avatar answered Sep 29 '22 19:09

Willerton


I had this warning appear in my console:

fb:post failed to resize in 45s

And I was able to fix it by renaming a div class from "fb-post" to "fbPost". Try looking for an HTML element with an ID or class name of "fb-login" in your source.

I hope this helps.

like image 34
Scott Avatar answered Sep 29 '22 19:09

Scott