In this article I am going to explain how to implement Like box plugin on your website.

The Like Box is a social plugin that enables Facebook Page owners to attract and gain Likes from their own website. The Like Box enables users to:

  •     See how many users already like this Page, and which of their friends like it too
  •     Read recent posts from the Page
  •     Like the Page with one click, without needing to visit the Page

You need to implement the Like box with below link: after clicking this link you will get below screen:

Implement like box in your website

1.       Click to Like Box menu to open form.

2.       Facebook page URL: -Here type or paste the URL of the Facebook Page for this Like Box. href should be an absolute URL.

3.       Width: - Here give the width of the plugin in pixels. Default width: 300px.

4.       Height: -Here give the height of the plugin in pixels.

5.       Show Faces: - Here specifies whether or not to display profile photos in the plugin.

6.       Color Schemes: - Here give the color scheme for the plugin. It has two options: 'light'(default), 'dark'.

7.       Stream: - It specifies whether to display a stream of the latest posts from the Page's wall.

8.       Border Color: - Here give the border of plugin.

9.       Header: - Here specifies whether to display the Facebook header at the top of the plugin (by default is checked).

10.   Get Code: - At the last click on the Get Code button to get the script for the plugin.

After clicking the Get Code button below screen will be appear.

Implement like box in your website


Copy the red bordered code and paste where which you want to show the Like Box plugin.

Code: -
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">

<html xmlns="" >
    <title>Facebook Like Box</title>
    <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); = id;
        js.src = "//";
        fjs.parentNode.insertBefore(js, fjs);
    } (document, 'script', 'facebook-jssdk'));</script>
<div class="fb-like-box" data-href="" data-width="292" data-height="600" data-show-faces="true" data-stream="true" data-border-color="#E99B15" data-header="true"></div>


Output: -

Implement like box in your website


  Modified On Nov-29-2017 07:20:35 PM

Leave Comment