How to add your Facebook page to website using Page plugin ?

The Page plugin lets you easily embed and promote any public Facebook Page on your website. Just like on Facebook, your visitors can like and share the Page without leaving your site. You can use the Page plugin for any Page that is not restricted, for example, by country or age.

Visit website on the opened webpage, enter your page URL in “Facebook Page URL” and click “Get Code”

For example, If we enter our facebook page URL into “Facebook Page URL” and click “Get Code” we got a code as,

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

[java] <div id="fb-root"></div> <script async defer crossorigin="anonymous" src=""></script> [/java]

Step 2: Place this code wherever you want the plugin to appear on your page.

[java] <div class="fb-page" data-href="" data-tabs="timeline" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"> <blockquote cite="" class="fb-xfbml-parse-ignore"> <a href="">Lynxbee</a> </blockquote> </div> [/java]

You can customise the look of the facebook page box by modifying parameters as mentioned at

Leave a Comment