Like Box iFrame Generated Code not working

Mary Murphy picture Mary Murphy · Jan 2, 2012 · Viewed 32.2k times · Source

My like box is not showing up with the code generated. I have read through the fixes here and some refer to changing "profile id" to just "id" but there doesn't seam to be any such code in my generated code - also fixed all ampersands (I think)... This is what I have that does not work. How should I change it? Thanks! I get a 404 error with this code:

<iframe
src="http//www.facebook.com/plugins/likebox.php?href=http://www.facebook
.com/pages/Bluedawg-Design/70870858258;width=450;
height=590;colorscheme=light;show_faces=true;border_color;stream=
true;header=true" scrolling="no" frameborder="0" style="border:none;
overflow:hidden; width:450px; height:590px;"
allowTransparency="true"></iframe> 

Answer

Juicy Scripter picture Juicy Scripter · Jan 2, 2012

You wiped too much of needed parts, ampersands are important!

And you're missing : after http which leads to problem.

This is a working version (do not remove parts of next code before trying it as is)

<iframe src="//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FBluedawg-Design%2F70870858258&amp;width=450&amp;height=590&amp;colorscheme=light&amp;show_faces=true&amp;border_color&amp;stream=true&amp;header=true" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:590px;" allowTransparency="true"></iframe>

This code works perfectly served by web server but will not work if opened from local machine (not served over HTTP or HTTPS) in later case just put http: before //www.facebook.com