Step 2: Adding Facebook social plugins to the website
In advance to adding any Facebook social plugin, you will be required to provide the Facebook App ID and App Secret Key. You can change the provided ID and Secret Key in future. This can be done navigating to “Edit App Settings” and making the relevant changes. The details on how to create an application ID can be found in Step 3.
Generate Sample Article. The button can be used for generating an article, which will include all Facebook buttons and widgets as a sample article. To view the created article, you should press the same button, which is renamed to Preview Sample Article.
After the test, you can add the preferred buttons.
- From the navigation bar on the top select Components >Spider Facebook.
- On the upper right hand of the screen click on the New button.
2.4 Adding a Like Box
2.4.1 Title. Specify a title for the plugin to be able to identify the plugin in back-end.
2.4.2 Publish. Choose whether to publish the plugin or not.
2.4.3 Rendering. Choose how to render the plugin. The URL option allows placing a link that redirects to a page with the plugin. Specify the link title in the Link text field, as well as the new page Target.
2.4.4 Add to <html> Tag. Add the code (ONLY ONCE) to the <html> tag of your template’s index.php file (templates/your_template/index.php).
<html xmlns:og="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml">
2.4.5 Facebook Page Url. Enter the URL of your Facebook page.
2.4.6 Width. Define the width of the plugin in pixels.
2.4.7 Height. Define the height of the plugin in pixels.
2.4.8 Show Header. Choose whether to show the Facebook header at the top of the plugin container or not.
2.4.9 Show Stream. Choose whether to show the profile stream for the public profile or not.
2.4.10 Show Page Fans. Choose whether to show Page Fans or not.
2.4.11 Show Border. Choose whether to display the border of the plugin container or not.
2.4.12 Force wall. For the location-based pages the option displays whether it includes check-ins only or posts by the page.
2.4.13 Background Color. Choose either to leave the plugin background to transparent or set a color for the plugin container.
2.4.14 Color Scheme. Select the color scheme of the plugin.
2.4.15 Font. Choose the text font of the plugin.
2.4.16 Language Preference.
- Custom. Select the plugin language.
- Current. Adjusts to the language of the website.
2.4.17 All Articles. Adds the plugin to all the articles on the website.
2.4.18 Show in category view. Choose whether to show articles in category view or not.
2.4.19 Articles. Choose the articles to which you want to add the plugin.
2.4.20 Vertical Position. Choose whether to place the plugin at the top or at the bottom of the article.
2.4.21 On all non-article menu items. Adds the plugin to all the menu items on the website except the articles.
2.4.22 Non-article menu items. Choose menu items to which you want to add the plugin.
2.4.23 Vertical Position. Choose whether to place the plugin at the top or at the bottom.
2.4.24 All K2 items. Adds the plugin to all the K2 items on the website.
2.4.26 Add K2 items. Choose the K2 items to which you want to add the plugin.
2.4.27 Vertical Position. Choose whether to place the plugin at the top or at the bottom of the K2 items.
2.4.28 Style. Here you can customize certain style options. Simply change the values of the parameters that are listed in the box.
|Previous Step||Next Step|