18a

Facebook Like Box not showing faces?!

23rd May 2011 04:00 by dean

Have you found that your Facebook Like Box doesn’t appear properly on your website? You get the title but it doesn't seem to pull through any faces?

Well the problem is so much simpler than I had imagined!

The default height of the box given by Facebook is too short. The code by default sets the height to 62px but you need to change this in two places to something along the lines of 200px+ to see any faces. 

This is the code needed to display it - you can see the height bolded in 2 places:              

<iframe src="http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2F18a-Productions%2F135179649832396&amp;amp;width=292&amp;amp;colorscheme=light&amp;amp; show_faces=true&amp;amp;stream=false&amp;amp;header=true&amp;amp;height=62&quot; scrolling=&quot;no&quot; frameborder="0&quot; style=&quot;border:none; overflow:hidden; width:292px; height:62px;" allowTransparency="true"></iframe>