Facebook LikeBox

Posted in: Newspaper
Post count: 14

Hi Guys , i am reletively new to this type of job.

I have this code and instructions but don’t know where to input them respectively.

So I just bought a facebook-page about fitness, training etc. I will do some changes to it and post articles to get traffic to the webpage. But I also want people visiting the website to like the fb-page. So I would like this placed in the kind of sidebar on the right within the design.

Code for likebox:
Step 1: Include the JavaScript SDK on your page once, ideally right after the opening body tag.

<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 = ‘https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.11&#8217;;
fjs.parentNode.insertBefore(js, fjs);
}(document, ‘script’, ‘facebook-jssdk’));</script>

Step 2: Place this code wherever you want the plugin to appear on your page.
<div class=”fb-page” data-href=”https://www.facebook.com/NorwegianAesthetics/&#8221; data-small-header=”false” data-adapt-container-width=”true” data-hide-cover=”false” data-show-facepile=”true”>

Norwegian Aesthetics

</div>

ANY IDEAS?

THANKS SO MUCH

Post count: 23312

Hello curmi01,

Unfortunately, the theme does not have any such an option for this functionality and therefore, we have no idea about the implementation of it. You should follow the Facebook instruction from here -> https://developers.facebook.com/docs/plugins/like-box-for-pages/ Also, as a hint, you can refer to the following topic here -> https://forum.tagdiv.com/topic/facebook-comments-2/ and try to apply the same configuration to the Facebook Comments. It may work!

Thanks for your understanding!

Post count: 14

Hi Catalin,

Thanks for your reply will try follow what you sent.

Also i posted another question however no reply maybe you could have a look at it please

Thanks alot!

Post count: 25

Why you dont use the Facebook Plugin, that works great.. We use it also on our homepage

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.