Community Documentation

Facebook social plugins integration

Last updated January 18, 2013. Created by c31ck on June 14, 2012.
Edited by Rinks. Log in to edit this page.

Basic configuration

How to display a FB social plugin on your site.

  1. Go to Administer > Structure > Facebook social > Presets > Add.
  2. Fill in a name and for you preset. For example: “Like button on articles”.
  3. Choose the desired Facebook plugin type. The available plugins are:

    • Facebook activityfeed plugin
    • Facebook comments plugin
    • Facebook facepile plugin
    • Facebook like button plugin
    • Facebook likebox plugin
    • Facebook livestream plugin
    • Facebook recommendations plugin
    • Facebook send plugin
    • Facebook subscribe plugin
  4. The plugin settings depend on the Facebook plugin you chose in the previous step. Each setting has a clear description that appears when you hover over it. More information about Facebook Social plugins in general is available on the Facebook help center: http://www.facebook.com/help/social-plugins

  5. Fill in the Drupal settings:

    • Plugin location: Depending on your theme you can display the plugin in the node content or the node links.
    • View modes: Select the view modes you want to display the plugin on. The most important view modes are “full content” and “teaser”. The full content view mode is used when a node is fully shown, for example when an entire article is displayed. Teaser view mode is typically used in listings, when viewing a list of news items for example.
    • Create a block: When checked the plugin will be displayed in a block. You can place this block in any region of your site using the block administration page.
  6. Click “Save”.

Page status

About this page

Drupal version
Drupal 7.x
Audience
Site builders

Site Building Guide

Drupal’s online documentation is © 2000-2013 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License. Comments on documentation pages are used to improve content and then deleted.