collective.facebook.portlets

This package implements some Facebook Social Plugins as portlets for your Plone site.


Keywords
plone, portlet, facebook
License
GPL-2.0+
Install
pip install collective.facebook.portlets==1.0b2

Documentation

collective.facebook.portlets

Table of Contents

Life, the Universe, and Everything

This package implements some Facebook Social Plugins as portlets for your Plone site.

This package depends on collective.facebook.accounts.

Currently, the following portlets are available:

Facebook Wall portlet

This portlet displays the user's Facebook Wall and their News Feed.

Facebook Activity Feed portlet

This portlet is based on the Activity Feed plugin and it has some UI limitations. The Activity Feed plugin displays the most interesting recent activity taking place on your site. Since the content is hosted by Facebook, the plugin can display personalized content whether or not the user has logged into your site. The activity feed displays stories when users interact with content on your site, such as like, watch, read, play or any custom action. Activity is also displayed when users share content from your site in Facebook or if they comment on a page on your site in the Comments box. If a user is logged into Facebook, the plugin will be personalized to highlight content from their friends. If the user is logged out, the activity feed will show recommendations from across your site, and give the user the option to log in to Facebook.

Facebook Like Box portlet

The Like Box is a social plugin that enables Facebook Page owners to attract and gain Likes from their own website. The Like Box enables users to:

  • See how many users already like this Page, and which of their friends like it too
  • Read recent posts from the Page
  • Like the Page with one click, without needing to visit the Page

Don't panic

Facebook Wall portlet

To add a Facebook Wall portlet do the following:

  • From the manage portlets screen select "Facebook Wall".
  • Enter a header (if you want one).
  • Choose the Facebook account to use from the drop-down.
  • Enter the ID of the wall you want to be listed (e.g. plonecms).
  • Enter the maximum number of entries you want the portlet to show.
  • Mark the checkbox if you want only the posts made from the wall owner to be shown (plonecms in this case), or leave it unmarked if you want all posts no matter who posted them.

That's it.

Facebook Activity Feed portlet

To add a Facebook Activity Feed portlet do the following:

  • From the manage portlets screen select "Facebook Activity Feed".
  • Enter a header (if you want one).
  • Enter App ID/API Key of your application.
  • Enter the site URL from which you want to display interesting recent activity (e.g. plone.org).
  • Select if you want to show recommendations from across your site.
  • Set the portlet width and height.
  • Select the color scheme you want to use: light or dark.
  • Select the link target you want to use: _blank, _top or _parent.
  • Enter the border color in hexadecimal format (e.g. #ffffff).

That's it.

Facebook Like Box portlet

To add a Facebook Like Box portlet do the following:

  • From the manage portlets screen select "Facebook Like Box".
  • Enter App ID/API Key of your application.
  • Enter the site URL to like (e.g. https://www.facebook.com/plonecms).
  • Set the portlet width and height.
  • Select the color scheme you want to use: light or dark.

That's it.

Screenshots

Facebook Wall portlet.

Facebook Wall portlet.

Facebook Activity Feed portlet.

Facebook Activity Feed portlet.

Facebook Like Box portlet.

Facebook Like Box portlet.

To do list

In the near future we are going to release a new version including the following features:

Recommendations Box portlet

This portlet will be based on the Recommendations Box plugin. The Recommendations Box shows personalized recommendations to your users. Since the content is hosted by Facebook, the plugin can display personalized recommendations whether or not the user has logged into your site. To generate the recommendations, the plugin considers all the social interactions with URLs from your site. For a logged in Facebook user, the plugin will give preference to and highlight objects her friends have interacted with.

Mostly Harmless

image

Have an idea? Found a bug? Let us know by opening a support ticket.