Add A Facebook Gadget Alongside Facebook Sdk Code

Some weblog owners can't teach their novel FaceBook gadgets to work, on their blogs.

We encounter the occasional report, inwards Blogger Help Forum: Get Help amongst an Issue.

The weblog won't direct maintain the code that Facebook Developer generated for me.

Adding HTML gadgets - in addition to HTML gadgets using FaceBook code - tin move frustrating. But, it's possible.

Adding a FaceBook gadget, to your blog, is non hard - precisely success is found, inwards the details.

  • Add the gadget every bit a novel HTML gadget.
  • Add the FaceBook SDK code, to the commencement FaceBook gadget.

Add the gadget every bit a novel HTML gadget.

Blog maintenance is far easier, amongst a FaceBook gadget - or whatsoever other HTML / JavaScript based accessory - added every bit content, inwards a novel HTML gadget - far smarter than using Template Editor.

Add the FaceBook SDK code, to the commencement FaceBook gadget.

FaceBook instructs us to add SDK code to each page which volition display a FaceBook gadget - precisely advises that nosotros should solely add together the SDK code in ane lawsuit / page.

Gadget code, every bit provided yesteryear FaceBook Developers:

<div class="fb-comments" data-href="http://ourladyofoutrage.blogspot.com/" data-numposts="5">
</div>

Gadget code, every bit added to a novel HTML gadget:

<div id="fb-root">
</div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5&appId=528167400699401";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

<div class="fb-comments" data-href="http://ourladyofoutrage.blogspot.com/" data-numposts="5">
</div>


Influenza A virus subtype H5N1 novel FaceBook gadget, beingness added.



Just pay attending to the details, for best results.



Some #Blogger weblog owners crusade to add together accessories provided yesteryear FaceBook Developers, without success. They don't realise the importance of the details involved.

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel