I get this error on my blog page now.
https://www.facebook.com/plugins/error/api?code=100&message=Param+show_faces+must+be+a+boolean&hash=AQCNFmFNw0GU83AX
I have no idea how to fix it. Any ideas?
I guess that this is about the Like Button/Like Box? You should specify this in your question!
If so, then you need to add the show_faces parameter/attribute as described at https://developers.facebook.com/docs/plugins/like-button/#settings
Example:
<div class="fb-like" data-href="https://developers.facebook.com/docs/plugins/" data-layout="standard" data-action="like" data-show-faces="true" data-share="true"></div>
Related
I've put the fb-login-button inside a wrapper element with the same height and background so that I can make it appear to be wider than facebook allows it to be (max 400px).
This works well for the most part but I need to be able to click the wrapper to login with facebook. Is this possible? And if so how might i go about doing this?
my html:
<div class="fb-login-button-wrapper">
<div class="fb-login-button" data-max-rows="1" data-size="large" data-button-type="login_with" data-show-faces="true" data-auto-logout-link="false" data-use-continue-as="true" data-width="100%"></div>
</div>
however whats actually rendered is an iframe and i believe the clickable element is somewhere in there.
I have three like tags with different URLs (all of them working, the same site):
http://www.sawbook.pl/
http://www.sawbook.pl/like_test.html
http://www.sawbook.pl/najszczesliwszy-dzien.html
Unfortunately there is only one like button!
Are my URLs banned!?
What's wrong?
Test page: http://www.sawbook.pl/like_test.html
<dl>
<dt>http://www.sawbook.pl/</dt>
<dd>
<div class="fb-like"
data-href="http://www.sawbook.pl/"
data-layout="standard" data-action="like"
data-show-faces="true" data-share="true">
</div>
</dd>
<dt>http://www.sawbook.pl/like_test.html</dt>
<dd>
<div class="fb-like"
data-href="http://www.sawbook.pl/like_test.html"
data-layout="standard" data-action="like"
data-show-faces="true" data-share="true">
</div>
</dd>
<dt>http://www.sawbook.pl/najszczesliwszy-dzien.html</dt>
<dd>
<div class="fb-like"
data-href="http://www.sawbook.pl/najszczesliwszy-dzien.html"
data-layout="standard" data-action="like"
data-show-faces="true" data-share="true"></div>
</dd>
</dl>
I've changed the age restriction for the app that is used on the page.
Currently each of Like buttons works fine.
Thank you CBroe for your help.
I found a solution while I reported the bug, by the way, I checked the application settings.
is it possible to change the fonts in the Facebook Like Box plugin? If there is a way to do it please tell me.
I'm busy building a website and i must change the fonts in the plugin but i can't
Did you try to put
data-font="verdana"
into this div :
<div class="fb-like-box" data-href="http://www.facebook.com/platform" data-width="292" data-show-faces="true" data-stream="true" data-header="true"></div> ?
I want to display more friend avatars on the like button box when I insert the code on my website, is it possible? I got the code from this, https://developers.facebook.com/docs/reference/plugins/like/ At the moment, the box just shows 7 friend avatars at maximum.
This will depend on how many of your friends like the page. Another option you can use is to display a like box with a facepile box next to it. eg:
<div class="fb-like" data-href="https://www.facebook.com/" data-send="false" data-layout="box_count" data-width="50" data-show-faces="false" style="float:left;></div>
<div class="fb-facepile" data-href="https://www.facebook.com/" data-size="large" data-max-rows="1" data-width="350"></div>
I want to place a Facebook recommend button on my website. If the user recommends my site, I'd like to show a div with a thank you message. How can I tell if they have clicked the recommend button and that they have actually recommended it on their Facebook wall?
Is there any similar example?
You can use the FB.Event.subscribe event to do this. This event is only called if the recommend action was successful.
<body>
<div id="fb-root"></div>
<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>
FB.Event.subscribe('edge.create', function(response) {
//replace the next line with calling your div
alert('edge.create fired!');
});
</script>
<fb:like href="" send="false" width="450" show_faces="true" action="recommend" font=""></fb:like>
</body>
To create a Facebook recommend Button:
<div class="fb-like"
data-href="http://www.dealdimer.com/"
data-send="true" data-width="450" data-show-faces="true" data-font="verdana"
data-colorscheme="dark" data-action="recommend"></div>
Change "http://www.dealdimer.com" to your Link.