开发者

Adding Facebook Like button to fan page

开发者 https://www.devze.com 2023-01-09 05:08 出处:网络
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 wo开发者_如何学运维rk....why????

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 wo开发者_如何学运维rk....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>


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


Now, you can try the like box: https://developers.facebook.com/docs/reference/plugins/like-box/


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消