tmort / Socialite

Other
1.68k stars 163 forks source link

Facebook button is loading 0px width and height #64

Open cristiangrojas opened 11 years ago

cristiangrojas commented 11 years ago

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)

tmort commented 11 years ago

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

royroosterz commented 11 years ago

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

leymannx commented 7 years ago

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.