Facebook Page Plugin

REW Devon posted this - 1,489 Views

You can use the Facebook Plugin to promote your Facebook page on your website. It’s easy to add this plugin to your site as it only requires you add a couple blocks of code into a CMS snippet.

Start by creating a CMS snippet by navigating to CMS > Manage Snippets > New CMS Snippet and copy/paste in this block of code:

 

The second section of that block of code is where you can configure how the plugin will display. First you will need to change the URL so that it is using your Facebook page. To do this, where it says https://www.facebook.com/realestatewebmasters replace the link with the URL for your Facebook page. Remember to add the snippet into a page on your site for the Page Plugin to appear.

You can edit the attributes of the Page Plugin by changing or removing lines of code from the snippet. These different attributes will alter what modules will load.

This allows you to customize exactly how you want it to appear on the page.

 

 

 

 

 

 

 

 

 

 

 

 

 

These attributes are configurable in the snippet, here is a more in depth breakdown of the settings for the different attributes:

data-width The pixel width of the plugin. Min. is 180 & Max. is 500
data-height The pixel height of the plugin. Min. is 70
data-tabs The timeline, events, and messages tabs in a comma separated list, remove any of the tabs to hide it from displaying
data-hide-cover Hide cover photo in the header
data-show-facepile Show profile photos when friends like this
data-hide-cta Hide the custom call to action button (if available)
data-small-header Use the small header instead
data-adapt-container-width Try to fit inside the container width


Comments

Enjoy this post? Why not share with friends or add a comment of your own?

Share your thoughts…