Jump to content

Recommended Posts




hello dear friends


if we want to put a facebook-fanbox on a wordpress-page - so that it looks like this here:

http://www.designchemical.com/blog/index.php/frequently-asked-questions/social-media-tabs/


 we can go like so:
 
we take the test from the facebook-deeloper site:

https://developers.facebook.com/docs/plugins/like-box-for-pages

Initialize the JavaScript SDK using this app: books-page...



<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_GB/sdk.js#xfbml=1&appId=473241986032774&version=v2.0";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>



Include the JavaScript SDK on your page once, ideally right after the opening <body> tag.
 

or do i need to inclue this


<div class="fb-like-box" data-href="https://www.facebook.com/FacebookDevelopers"
data-colorscheme="light" data-show-faces="true" data-header="true"
data-stream="false" data-show-border="true"></div>`

love to hear from you

 
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.