Flexo Facebook Manager

Flexo Facebook Manager is a fully integrated social plugin for your WordPress site. It allows you to add different Facebook features: [Like], [Comments], [Send] in your Pages, Posts, Categories and Sidebars.

Global Settings

 Flexo Facebook Manager Administration

Access and enter the necessary global data through the Dashboard Left Administration Pane.

There are various options, which can be used to control the appearance of this Plugin.

  1. width – the width of the plugin, in pixels
  2. appId – you need Application Id in order to work with the Facebook API
  3. num_posts  - default number of Posts that are showing
  4. feed
  5. Faces – show the Profile Pictures
  6. Send – include a Send Button
  7. Layout – is to determine if the Like Box is over the content or underneath it.
  8. Post Meta Vars – it include extra vars in WordPress Database which can be used for sorting by Likes, Comments or Overall FB Score
  9. Type - different Types supported by Facebook
  10. XID – additional variable that can be created using Post ID or the Current URL

Adding Facebook to your Posts and Pages

Below each Post or Page; you will find meta-box called “Flexo Facebook Manager”, that feature a full range of options for customizing the Plugin’s behavior.

Adding Facebook to your Categories

You can add Facebook arbitrarily in your code using the script bellow:

flexoFBManager::get_form($id,$type);

$id can accept different values. It can represent your CategoryID, PageID, PostID or CurrentURL(permalink).

Options for $type are:

  1. ‘default’ – show Likes, Comments and include Open Graph
  2. ‘like’ – show Likes and include Open Graph
  3. ‘comments’ – show Comments and include Open Graph
  4. ‘open_g’ - include Open Graph

The final look should be similar to the picture bellow

Result

Additional functionality

Flexo Facebook Manager gives two Class Functions, which can be used to get number of the Post’s Likes and Comments:

  1. flexoFBManager ::get_likes ($post_id);
  2. flexoFBManager ::get_comments ($post_id);

Коментари