The code generated for the iframe doesn't pass the w3 validator - apparently the width attribute is not supported:

Line 374, Column 94: general entity "width" not defined and no default entity
…//www.facebook.com/BoondockersWelcome&width=184&colorscheme=light&show_fac...

This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.

Removing the width param from the iframe makes no difference to the data returned, can probably just remove it.

Comments

skulegirl’s picture

Duh. Guess I should actually read the error. Issue is obviously that ampersands in fb_likebox.tpl.php are not propertly encoded. Replacing all "&" with "&" reduces my number of errors in validation by about 20.

drozas’s picture

Thanks skulegirl!,

I will revise the .tpl and perform the changes to have a w3 valid version.

Cheers,

David

drozas’s picture

Assigned: Unassigned » drozas
Status: Active » Needs work
drozas’s picture

Hello skulegirl,

I have updated the file templates/fb_likebox.tpl.php in the development branches for both: Drupal 6 and Drupal 7. The "&" symbol in the argument is now replaced by "& amp;", so it should pass the W3C validator now.
I will merge these changes into the new official release, but for the moment you can use the development version:

Thanks a lot for your feedback!.

Cheers,

David

drozas’s picture

Status: Needs work » Closed (fixed)