Package: collective.fbshare
Add new meta tags to you Plone site, for better controlling how your items areshared on Facebook.Table of contentsIntroductionProduct detailPlone site metasAbout imagesCoexistence with sc.social.likeDependenciesSimilar productCreditsAuthorsChangelog0.3.2 (2016-04-19)0.3.1 (2015-02-20)0.3.0 (2014-01-27)0.2.1 (2013-07-05)0.2.0 (2012-11-26)0.1.0 (2012-07-25)IntroductionAre you commonly sharing contents from your Plone site or a site page to aFacebookaccount?When you use the nice Facebook sharing interface, you have a simple way to customize additional data for the item
that will be published (mainly: choose a proper image from the remote page).
However when trying to do this automatically (e.g: you are publishing the link in aTwitteraccount that also
feed a Facebook page) Facebook is choosing an image for you… and often this is not the image you want.How can you solve this? In general you can provide some additionalmetatag information usingOpen Graph standard, customizing many aspect of the way of sharing contents on Facebook.Product detailInstallingcollective.fbshareproduct and add some additionalmetatags in theheadsection of your site.Plone site metasWhen sharing the site root, you’ll get:og:typeAlwayswebsiteog:urlThe URL to the siteog:imageSee next sectionog:titleThe name of the siteog:descriptionThe description of the siteWhen sharing site content’s you’ll get:og:typeAlwaysarticleog:urlThe URL to the contentog:site_nameThe name of the Plone siteog:imageSee next sectionog:titleThe title of the contentog:descriptionThe description of the contentarticle:published_timeThe publication date of the content (when present)article:expiration_timeThe expiration date of the content (when present)article:authorA link to the creator’s page. This will be used only when you choose to display
theaboutinfo of site user’sarticle:tagList of content tagsAbout imagesIn the site control panel you can access a new configuration panel named “Open Graph sharing settings”.
From there you can:provide a custom image content to be used asog:imagechoose to use the site’s logo asog:imageenable support for content images, this mean that content types with image field will be able to
provide that image instead of a global ones.
Also supportedcollective.contentleadimageCoexistence with sc.social.likeAnother very common plugin that addmetatag in Plone Pages issc.social.like.As adding duplicate meta tag is reported as an error by Facebook verification,collective.fbsharewill
hide some of thesc.social.likeHTML elements when both products are installed.DependenciesTested on:Plone 3.3Plone 4.2Plone 4.3On Plone 3.3 you need to configure properlyplone.app.registrydependencies and upgrade
the default version used ofplone.z3cform.Similar productThere’s another Plone package that will give you Open Graph support:collective.opengraphCreditsDeveloped with the support of:S. Anna Hospital, FerraraRegione Emilia RomagnaAll of them supports thePloneGov initiative.AuthorsThis product was developed by RedTurtle Technology team.Changelog0.3.2 (2016-04-19)Fixes for Plone 5.0 (handle missing portal_properties props and unset lead
images)
[alecm]0.3.1 (2015-02-20)Updated metadata from sc.social.like with latests
changes from version 2.0 (matters only when used).
This close#7[keul]0.3.0 (2014-01-27)Dexterity content type support [keul]Display also the modified time if security site say so [keul]Coexistence withsc.social.like[keul]Properly handlearticle:tagas array [keul]0.2.1 (2013-07-05)When visiting a folderish content refers to folder URL, not default
page URL (close#2) [jnachtigall]0.2.0 (2012-11-26)Use of site logo feature forog:imagewas broken
[keul]i18n fixes
[keul]added support for content’s own image (also with support forcollective.contentleadimage)
[keul]0.1.0 (2012-07-25)Initial release