Socialite icon indicating copy to clipboard operation
Socialite copied to clipboard

Facebook button is loading 0px width and height

Open cristiangrojas opened this issue 12 years ago • 3 comments

For some reason in my website facebook button is loading but 0px width and 0px height, the span inside of the .fb-like div and iframe inside of the span has style="height: 0px; width: 0px;";

I really don't know the reason because this is happening, is there a CSS problem (I've tested with CSS fixes but didn't work)

cristiangrojas avatar May 29 '13 13:05 cristiangrojas

Can you link me to the page? Its easier for me to diagnose from there.

tmort avatar Sep 20 '13 16:09 tmort

Hi,

Are you using this on localhost? If yes, this was also happening to me out of the blue some time ago and has not been changed since.

Cheers, Roy

royroosterz avatar Sep 23 '13 12:09 royroosterz

Had the same problem yesterday. I then played around with the widget on https://developers.facebook.com/docs/plugins/like-button a while. Turned out this only happened with Facebook Page URLs (the URL to like). Even https://facebook.com/facebook itself didn't work correctly anymore. Simply rendered with 0px. All other URL worked as expected. Tried to reach FB on Twitter and they sent this link to the filed issue. Which says bug is known and fixed now.

So we simply had to wait. After one night the next morning all Like buttons with Facebook Page URLs rendered correctly again.

normanlolx avatar Jun 14 '17 11:06 normanlolx