+44 (0)1179 680989

Facebook Like Box not showing faces?!

23rd May 2011 03:00 by jo

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>


Facebook Like Box

Want to share? Tweet it!


Related Projects

Comments

  • westbury 17th August 2011
    finally! how i didn't realise this before i have no idea! thanks for your post, most helpful.

    i've just firebugged it on my site and you're right. i'll certainly fix this on my site later tonight.
Leave a Comment

Allowable tags: <b>, <em>