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 https://developers.facebook.com/docs/plugins/page-plugin 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 https://www.facebook.com/com.lynxbee 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.


Subscribe with Valid Email Id to receive updates in Inbox. ( Secured by Google FeedBurner )

   


<div id="fb-root"></div>
<script async defer crossorigin="anonymous"
 src="https://connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v3.2"></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/com.lynxbee" data-tabs="timeline" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true">
<blockquote cite="https://www.facebook.com/com.lynxbee" class="fb-xfbml-parse-ignore">
<a href="https://www.facebook.com/com.lynxbee">Lynxbee</a>
</blockquote>
</div>

You can customise the look of the facebook page box by modifying parameters as mentioned at https://developers.facebook.com/docs/plugins/page-plugin

lynxbee_ezoic

Leave a Comment

Android Android Build system Android Commands Android Java Applications Application Libraries Application Stack / User Interface Bash / Shell Scripts Bluetooth driver Cloud Technologies Commands and Packages Compilation Content Management System Core Kernel C Programs Development & Build Development, Debugging and Performance Tools Development Environment Setup Django & REST Api Errors & Failures Git Hardware Platforms HTML JAVA Programs Linux, OS Concepts and Networking Linux Device Drivers Linux Host, Ubuntu, SysAdmin Linux Kernel Linux Networking Middleware Libraries, HAL Multimedia Audio, Video, Images NDK / Middleware / HAL OS Concepts PHP Programming Languages Scripting and Automation Search Engine Optimisation ( SEO ) Social Media Source Code Management ( SCM ) System Administration, Security Testing and Debugging Uncategorized Web design and development Website Hosting Wordpress Yocto / Bitbake / Openembedded