how to add facebook Like box or Page plugin to Website

Facebook Like Box/ Page Plugin

The page plugin offered by Facebook lets you to add and promote any Facebook page on your website. Previously it was known as “Like Box” and now they changed it to “Page Plugin” with some additional features. Now the widget will show live feeding of your page posts. The visitors can like ans share the page without leaving the website. Is that great isn’t it ??

Now follow these simple steps to get your widget code

  1. Go to your Facebook account ad get your page URL.
  2. Go to plugins page by directly clicking this link >> https://developers.facebook.com/docs/plugins/page-plugin
  3. Now paste the page URL in the respective field. You can customize the height and width of the widget if you like. Then click “Get Code”. facebook page plugin
  4. After clickng Get Code, a pop up will opens showing the ad codes. There will be 2 different codes. In which the first one should inserted into the theme header and the second one to any widgets. Blogger and WordPress user follow the below steps to add it into your site.

 

For Blogger platform :

>> Login to your Blogger dashboard >> then click Template >> Edit HTML >> search <body> inside the       HTML code and insert the first code right after it and save the template.

>> Now click Layout >> Add a Gadget on the side you want to show the FB plugin >> Select                             HTML/JavaScript widget >> paste the second code in it and save.

For WordPress platform :

>> Login to your dashboard >> Appearance >> Editor >> Open header.php file and insert the first code        right after the <body> tag.

>> Now Appearance >> Click Customize >> Widgets >> select the place you want to show the FB plugin        >> then use Add a Gadget, select Text widget from the list and paste the second code in it.

That’s all both Blogger and WordPress users view the website and check whether the Page plugin showing or not. Please comment if you found any difficulties during this installation.

M S Sujeesh

3 Comments

  1. What’s Taking place i’m new to this, I stumbled upon this
    I have found It absolutely useful and it has helped me
    out loads. I am hoping to give a contribution & aid other customers like its helped me.
    Great job.

Leave a Reply

Your email address will not be published. Required fields are marked *