tags:

views:

797

answers:

5

Hello.

I'm trying to integrate a Like box in my website. It wasn't working, so I created a sample page (which also doesn't work).

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
    <title>FB TEST</title>
</head>

<body>
    <iframe src="http://www.facebook.com/plugins/likebox.php?profile_id=185550966885&amp;amp;width=292&amp;amp;connections=5&amp;amp;stream=false&amp;amp;header=true" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:292px; height:px"></iframe>
</body>
</html>

I'm also using the sample iframe code (mine didn't work, so I tried this), taken from: http://developers.facebook.com/docs/reference/plugins/like-box

The sample page is here:

http://www.plugb.com/fb-test.php

How can I fix this?

Thanks in advance.

+3  A: 

There appears to be a bug in the code they generate. If you replace "profile_id" with "id" in the URL they generate it should work.

Chris Garrett
A: 

You sir, are a genius. It'd be nice if they updated their tools to reflect this :)

brandon m
A: 

WoW! Thank you!!!! :) Erin

Erin
A: 

yeah, that's the answer. Thanks!

Camilo

Camilo
A: 

Very weird: I tried this solution, and it worked in the sense that it displayed a "Like" widget (instead of a busted iFrame), but it was a "Like" widget for "Lactose Free Milk" rather than the weekly newspaper I'm trying to publicize. :)

Any idea how to fix?

john
Change the id to your page id.
Gabriel Bianconi

related questions