tags:

views:

276

answers:

3

i have a facebook page and i cannot insert the button facebook like. i tried to put an iframe code and it works in a simple site. but in the facebook page dosn't work....why????

<iframe src="http://www.facebook.com/widgets/like.php?href=http://example.com"
    scrolling="no" frameborder="0"
    style="border:none; width:450px; height:80px"></iframe>
A: 

You can not insert iframe on landing page that is the one you have specified in application settings from developer section. You can only insert iframe in inner pages.

For example, I have created this fan page and it was not allowed to use iframe on landing page, so we made a splash screen and used the iframes all around in inner pages.

Sarfraz
+1  A: 

Use THIS LINK for generating the "Like" button you need. This is the official button generator supplied by Facebook.

o15a3d4l11s2
i cannot do it with xfbml. and with iframe doesn't work. could i do it with FBML????
gpap13
Not very familiar with FBML, but in iframe you can activate and use XFBML.
o15a3d4l11s2
A: 

ok you told me the problem. could you tell me the solution which is the most important??? :)

gpap13
please post any comments as comments or as edits to your original question - the answer area is really only for answers. And there are people waiting who will downvote your non-answers like crazy :) (the downvote is not from me)
Marek