Reputation: 113
I have some HTML5 code to embed facebook social plugins.
<div class="fb-share-button" data-href="some URL" data-type="button_count"></div>
When calling FB.init method of facebook JavaScript SDK with xfbml set to false thous plugins won't render.
FB.init({
appId : '{your-app-id}',
status : true,
xfbml : false
});
I can't understand why is it happens as I'm not using the XFBML notation.
Upvotes: 0
Views: 372
Reputation: 1701
The first glance hints you should include a version number. I use version: 'v2.1'
. Also,
I am getting a doubt that you didn't include {your_app_id}
with your real app_id...
Upvotes: -1