[title sub="Written by Chris Graham (ocProducts)"]Composr Tutorial: Facebook Support[/title]

[media thumb="0" framed="0" float="right"]data_custom/images/docs/tut_facebook/fb_composr.jpg[/media]
This tutorial describes Composr Facebook integration. It mostly describes functionality supplied by the non-bundled Facebook Support addon.

You may want to get a developer to help configure things. We're helping people getting Composr integrated, even when you're not a developer, but bear in mind that it can be tricky sometimes. Facebook is in flux, and Composr has to play catch-up quite a lot. All the standards involved in the integration are also in flux. Things are a lot better than they were, but still not always ideal. Any screenshots we show for Facebook could be out-dated by the time you read this.

[contents]decimal,lower-alpha[/contents]

[title="2"]Configuration and Authorisation[/title]

Before you can use any of the Facebook Support addon features you need to configure it.

[title="3"]Step 1) Configuration on Facebook[/title]

[media thumb="0" framed="0" float="right"]data_custom/images/docs/tut_facebook/facebook.png[/media]
Integration is done via configuring an app on Facebook; no actual app code needs writing, but this is how you get an API key.

[list="1"]
[*] Go to [url="set up your app on Facebook"]https://developers.facebook.com/apps/[/url]
[*] Click on right upper corner "Add a New App" button
[*] Type your site name
[*] Go into the setup of the new app
[*] Go to the "Settings" section
[*] Enter your domain name into the "Main App Domain" field
[*] Enter your privacy page URL into the "Privacy policy URL" field (link to your website's privacy page)
[*] Change the "Contact Email" field if no e-mail address is currently there, or if it is wrong
[*] Click "Add Platform"
[*] Choose "Website"
[*] Enter your base URL into the "Site URL" field.
[*] Click "Save Changes"
[*] Click "Add Product" in the left pane
[*] Select "Facebook Login" (click "Get Started" next to it)
[*] Enter [tt]<base url>/adminzone/index.php?page=facebook-oauth&oauth_in_progress=1[/tt] into the "Valid OAuth redirect URIs" field. As with "Site URL" it is crucial that you get this right.
[*] Click "Save Changes"
[*] Go to the Dashboard section
[*] Note down your "App ID" and your "App Secret"
[/list]

If you want to allow admin publishing to a Facebook page, go to App Review and enable via "Add Items" (with explanations of why):
 - [tt]publish_pages[/tt]
 - [tt]manage_pages[/tt]
Facebook will likely make you record a screencast of how exactly the system works, which is likely to take you around half a day of work once everything's said and done. Unfortunately it's not easy anymore.

And if you want to request additional member details for logging in users:
 - [tt]user_gender[/tt]
 - [tt]user_birthday[/tt]
 - [tt]user_location[/tt]
Which will also require App Review.

[title="4"]Special case: Delegating access[/title]

If you need to add someone else to your Facebook app (what you added above), to help development/debug it:
1) Go to [url="Facebook developer apps section"]https://developers.facebook.com/apps[/url]
2) Click the "Edit App" button
3) Click "Developer roles" under the "Settings" menu
4) Click "Add" over the Administrators section
5) Type their Facebook ID (the one they chose, not the numeric one) -- or, if they are your Facebook friend, just their name will work

[title="4"]Special case: Testing on a private server (e.g. localhost)[/title]

To use the Facebook login support your Facebook app needs to be told the domain name you are using. This is for security reasons and because it saves login cookies to this domain. It can't be a domain like 'localhost' or 'mycomputer', so if you are testing on a local computer you will need to create an imaginary domain name and link it into 127.0.0.1 via your computers 'hosts' file, and configure your [tt]_config.php[/tt] file to use that as the base URL.

For example, [tt]mycomposrtestsite.com[/tt], with a line like the following in your hosts file:
[code="Text"]
127.0.0.1 mycomposrtestsite.com
[/code]

All major operating systems support a hosts file. Rackspace provide a nice [url="tutorial for editing the hosts file"]http://www.rackspace.com/knowledge_center/article/how-do-i-modify-my-hosts-file[/url].

Note there is no need to use a real domain name, it can be completely made up.

[title="3"]Step 2) Install the Composr Facebook Support addon[/title]

[surround]
[media width="150" description="Choosing the addon" float="right"]data_custom/images/docs/tut_facebook/facebook_addon_b.png[/media]
[media width="150" description="Going to import a non-bundled addon" float="right"]data_custom/images/docs/tut_facebook/facebook_addon_a.png[/media]
To install...

1) Go to Admin Zone > Structure > Addons.
2) Scroll down and go to "Import non-bundled addon(s)".
3) Click the "Download" option, expand Third Party Integration, and select Facebook Support
4) Click the Import non-bundled addon(s) button
5) Proceed through normally.
[/surround]

[title="3"]Special case: Theme integration (advanced)[/title]

Installing the addon to Composr will override some key templates to [tt]themes/default/templates_custom[/tt]; this may be blocked by your existing themeing having its own overrides already in place. If you have a theme with overrides in place then you'll need to amend those overrides to incorporate the changes within the new overrides from the default theme. The templates involved are:
 - [tt]themes/default/templates_custom/BLOCK_SIDE_PERSONAL_STATS_NO.tpl[/tt]
 - [tt]themes/default/templates_custom/BLOCK_SIDE_PERSONAL_STATS.tpl[/tt]
 - [tt]themes/default/templates_custom/LOGIN_SCREEN.tpl[/tt]
 - [tt]themes/default/templates_custom/CNS_GUEST_BAR.tpl[/tt]
 - [tt]themes/default/templates_custom/BLOCK_MAIN_SCREEN_ACTIONS.tpl[/tt]
 - [tt]themes/default/templates_custom/BLOCK_TOP_LOGIN.tpl[/tt]

[title="3"]Step 3) Configuration[/title]

[surround]
[media width="150" description="Composr configuration options" float="right"]data_custom/images/docs/tut_facebook/facebook_config.png[/media]
1) Go to Admin Zone > Setup > Configuration > Composr API options > Facebook syndication / login.
2) Configure the "Facebook app ID" and "Facebook app secret" options. You noted down the values earlier.
3) Also configure the "Facebook page ID" option. This is a useful helper tool: http://findmyfbid.com/.

Make sure your site is not closed (you can change the settings in Admin Zone > Setup > Configuration > Site Options > Closed site). Facebook integration cannot work if Facebook is denied from connecting back to your website.
[/surround]

[title="3"]Step 4) Authorisation[/title]

1) Go to Admin Zone > Setup > Facebook syndication / login
2) Follow the instructions given
3) When on Facebook make sure to tick (check) the page you want to syndicate to, the one you configured as "Facebook page ID"" (if any)

[title="2"]Integration blocks[/title]

We have the following Composr blocks, based upon the Facebook [url="Social Plugins"]https://developers.facebook.com/docs/plugins/[/url]:
 - [tt]main_facebook_page[/tt] (based on Page plugin)
 - [tt]main_facebook_like[/tt] (based on Like plugin)
 - [tt]main_facebook_comments[/tt] (based on Comments plugin)

The plugins are mostly just thin wrappers to what Facebook does. If you want to tweak any options that we haven't made specific block parameters for you can just edit the appropriate templates. For example, [tt]BLOCK_MAIN_FACEBOOK_COMMENTS.tpl[/tt] is the template used by the [tt]main_facebook_comments[/tt] block.

If you wish you can use Facebook code directly within Composr. This would allow you to do integrations we have not made a block for, sure as the [url="Embedded Posts"]https://developers.facebook.com/docs/plugins/embedded-posts[/url] integration (that let's you embed a specific individual Facebook post).

You probably will not want to use [tt]main_facebook_like[/tt], as a Like Button is already pre-integrated into Composr's [tt]main_screen_actions[/tt] block (i.e. the social sharing block). [tt]main_screen_actions[/tt] is already embedded throughout key default Composr templates.

[title="3"]main_facebook_page[/title]

This block can be used to show Facebook page fans, and Facebook page posts. There are block parameters to determine what exactly to show in it.

This is the block you are most likely going to want to use.

[title="3"]main_facebook_like[/title]

This block is very straight-forward: it puts in a Facebook "Like" when clicked by a user, for the URL it is placed on. It doesn't require the user to be logged in to Composr using Facebook, but they will need to be logged into Facebook itself.

[title="3"]main_facebook_comments[/title]

This block is useful if you want people to be able to comment on your site directly using their Facebook accounts, rather than native Composr accounts (or Composr accounts tied to their Facebook account).

Most webmasters will not want to use this, as usually encouraging users to create a native account is strongly preferable.
You can consider having both Facebook comments, and native Composr comments, but this would be messy.

The Facebook comments block will only work if placed somewhere where Guest access is allowed, as it relies on Open Graph to gather details of the page it is placed on (Open Graph is described later in this tutorial).

You can either place this block manually within Comcode, similar to the standard Composr [tt]main_comments[/tt] block -- or, you can modify Composr templates to place this block instead of the default comments. For example, in [tt]DOWNLOAD_SCREEN.tpl[/tt] you can change [tt]{COMMENT_DETAILS}[/tt] to [tt]{$BLOCK,block=main_facebook_comments}[/tt], so that Facebook comments are used for downloads, rather than native Composr comments.

[title="2"]Social sharing[/title]

[i]This section is relevant even if you are not using the Facebook Support addon.[/i]

The [tt]main_screen_actions[/tt] block contains a Facebook share link if the Facebook Support addon is not installed. If the Facebook Support addon is installed it (by default) becomes a Like Button instead (which associates to your Facebook Page, allowing ongoing flow of your content to said user).

It is important to understand how the Facebook share button works. The button does not transfer the shared page's image/title to Facebook. Instead, Facebook comes back at the shared URL, and looks at the Open Graph meta tags. Open Graph is described in the next section.

[title="2"]Metadata when people link to you from Facebook (Open Graph)[/title]

[i]This section is relevant even if you are not using the Facebook Support addon.[/i]

[url="Open Graph"]http://ogp.me/[/url] is a Facebook-sponsored standard for web-page metadata.

Composr automatically includes Open Graph data in your pages, so that Facebook can automatically discern information about URLs on your website. This is handled in the [tt]HTML_HEAD.tpl[/tt] template. It is built on top of Composr's standard metadata system. Note that we also can support other metadata formats such as Dublin Core, but that is outside the scope of this tutorial (we're focusing only on Facebook metadata here, even though in some cases Facebook may itself support other metadata standards).

The following Open Graph data (or extensions to Open Graph) is provided, where possible:
 - [tt]og:title[/tt] -- Content title
 - [tt]og:type[/tt] -- Content type (e.g. News)
 - [tt]og:url[/tt] -- Canonical URL to the content (i.e. stripped down/standardised URL)
 - [tt]og:site_name[/tt] -- Site name
 - [tt]og:description[/tt] -- Description for page content
 - [tt]og:image[/tt] -- URL to page image
 - [tt]og:video[/tt] -- URL to page video
  - [tt]og:video:width[/tt] -- Width of video
  - [tt]og:video:height[/tt] -- Height of video
  - [tt]og:video:type[/tt] -- Mime-type of video
 - [tt]og:locale[/tt] -- Page locale (advanced)
 - News:
  - [tt]article:published_time[/tt] -- Article posting time
  - [tt]article:modified_time[/tt] -- Article modification time
  - [tt]article:section[/tt] -- Article category
  - [tt]article:tag[/tt] -- Article meta-keywords
  - [tt]article:author[/tt] -- Article author
 - Member profiles:
  - [tt]profile:username[/tt] -- Username
 - [tt]fb:admins[/tt] -- Facebook user ID of page admin ([i]disabled by default as auto-detected data is probably wrong, can be filled manually via a template edit to [tt]HTML_HEAD.tpl[/tt][/i])
 - [tt]fb:app_id[/tt] -- ID of Facebook app used on the site ([i]disabled by default to save bandwidth, it's not usually useful[/i])

Facebook provides a [url="tool for testing Open Graph data"]https://developers.facebook.com/tools/debug/[/url].

For Open Graph to work, the content must have public access. If you deny Guests access to the content then Open Graph tags cannot be accessed by Facebook and Facebook would then have to refer to the page as a login screen. That's not awful (you probably don't want content titles and images to leak to unauthorised users anyway), but bear it in mind. Similarly, if the site is closed, Facebook won't be able to access Open Graph.

[title="3"]Images ([tt]og:image[/tt])[/title]

The Composr code hints what image to use for Open Graph. There are 3 possibilities:
1) Where possible, a natural image is used. For example, when viewing a gallery image, the thumbnail will be the Open Graph image.
2) For content types with no natural image, often a theme image icon is used.
3) Otherwise the [tt]logo/standalone_logo[/tt] theme image is used (as it is coded as the fallback in the [tt]HTML_HEAD.tpl[/tt] template). i.e. Composr will fall-back to using your site logo if it can't find some other appropriate image.
4) (If the Open Graph image code was removed from [tt]HTML_HEAD.tpl[/tt], Facebook would choose its own image)

For catalogues you'll need to delete [tt]uploads/catalogues/.htaccess[/tt] for the image sharing to work. Deleting this file is safe so long as you don't have any files in there protected by catalogue permissions that you do not want to be directly accessible.

You may want to just simplify everything and make your own theme image for Open Graph and reference that. This will probably also end up looking nicer because Facebook:
a) recommends a 1.91:1 aspect ratio on your image (to avoid cropping) which is unlikely to be close to true for automatically chosen images.
b) there is a bare minimum of 200x200 (more information is included on https://developers.facebook.com/docs/sharing/best-practices#images)

[title="4"]Special case: If you use huge thumbnails[/title]

Note that Facebook does have minimum/maximum sizes and file-sizes for images. If you use enormous thumbnails on your site, your [tt]HTML_HEAD.tpl[/tt] template could need customising to re-thumbnail the files.

[title="4"]Changing default content-type images (advanced)[/title]

This example shows how to change the topic syndication to use a custom theme image, rather than the [tt]icons/48x48/menu/social/forum/forums[/tt] theme image.

[list="1"]
[*] Theme image...

Add a theme image called [tt]Open Graph_defaults/forums[/tt] to the default theme.

Either do this via Composr's interface, or simpler just create a [tt]themes/default/images_custom/opengraph_defaults/[/tt] directory and upload a [tt]forums.png[/tt] file to it.
[*] Template...

Edit the [tt]HTML_HEAD.tpl[/tt] template...

Change:
[code="HTML"]
{+START,IF_NON_EMPTY,{$METADATA,image}}<meta property="og:image" content="{$METADATA*,image}" />{$,NB: You may also want to define a image_src link tag for some social sites}{+END}{+START,IF_EMPTY,{$METADATA,image}}<meta property="og:image" content="{$IMG*,logo/standalone_logo}" />{+END}
[/code]
To:
[code="HTML"]
{+START,IF_NON_EMPTY,{$METADATA,image}}
	{$SET,generic_forum_image,{$EQ,{$METADATA,image},{$IMG,icons/48x48/menu/social/forum/forums}}}

	{+START,IF,{$GET,generic_forum_image}}
		<meta property="og:image" content="{$IMG*,opengraph_defaults/forums}" />
	{+END}

	{+START,IF,{$NOT,{$GET,generic_forum_image}}}
		<meta property="og:image" content="{$METADATA*,image}" />
	{+END}
{+END}
{+START,IF_EMPTY,{$METADATA,image}}<meta property="og:image" content="{$IMG*,logo/standalone_logo}" />{+END}
[/code]
[/list]

Our new code detects if the Open Graph image was set as [tt]icons/48x48/menu/social/forum/forums[/tt] and performs a substitution to our custom one.

Our change won't reflect on Facebook for existing syndications until Facebook refreshes its caching. But eventually it will, i.e. it will work retroactively.

[title="2"]Logging in using Facebook[/title]

You can allow users to log in to your Composr site using their Facebook accounts.

Be aware that this is a trade-off: allowing quick log in, but limiting your ability to control sign-ups. Facebook login differs from normal Composr joining in the following ways:
 - Password or username restriction rules will not apply, as the user does not choose these on your site
 - Rule acceptance will not happen (so make sure you link to your rules somewhere); Facebook login is generally designed as one-click, so extra steps are the antithesis of this
 - There is only one step, unless there are required Custom Profile Fields configured in Composr (in which case a profile completion step is required)
 - E-mail address confirmation is not required

This functionality is enabled via a configuration option at Admin Zone > Setup > Configuration > Composr API options > Facebook syndication / login.

Enabling the option turns on some template changes that incorporate the Facebook login button into the site design.
(See the "Special case: Theme integration" section)

The following details are taken from Facebook profiles:
 - Date-of-birth
 - E-mail address
 - Username
 - Photo

There are a number of configuration options you can set regarding active synchronisation of some of the above details. If synchronisation is enabled then if they are changed on Facebook the new settings copy through next time the user accesses your site. Regardless of configuration, synchronisation happens the first time a Facebook login occurs.

[title="3"]How the process basically works[/title]

When a user logs in using Facebook, Composr never is given the Facebook username and password of that user. Composr stores the Facebook account ID into the member account, and communicates securely with Facebook to ask Facebook if that member is logged in. So in effect (from Composr's point of view) it is a passwordless login.

[title="3"]Technical details regarding sessions (advanced)[/title]

Facebook login is achieved via JavaScript and Facebook cookies, which is the standard integration Facebook provide. There are alternate mechanisms available in Facebook's API (server-side driven authentication) but we don't implement them at this time (see "Ongoing work").

Because the login happens in JavaScript rather than using Composr login cookies, if there is no active Composr session anymore, the page will be served as Guest until Facebook's JavaScript code sets a new Facebook session. When that happens we immediately/automatically refresh, so Composr can use the Facebook session to start a Composr session (i.e. the refreshed page will then be logged in).

You could increase the Composr session length to prevent these regular refreshes, but it's not really advisable, as it lowers security (longer sessions = greater risk of attack by someone trying to steal session IDs). A lot of popular non-Composr sites do do that, so take that as you will.

[title="3"]Technical details regarding refreshes (advanced)[/title]

As described in the previous section, the Composr page has to refresh itself when it detects a Facebook session is available but the Composr member is not yet logged in.

When it refreshes for the first time it appends [tt]&refreshed_once=1[/tt]/[tt]?refreshed_once=1[/tt] to the URL, as a marker so our JavaScript knows it has made an attempt. If it has failed to make the login connection it refreshes again with [tt]&keep_refreshed_once=1[/tt]/[tt]?keep_refreshed_once=1[/tt]. It tries no further attempts. It does it like this (only up to two reattempts) because various kinds of connectivity problem, authorisation problem, or problems on Facebook, could otherwise lead to infinite refreshing.

When testing log in, make sure you're not starting a login from a URL with any of the above described  [tt]&refreshed_once=1[/tt]/[tt]?refreshed_once=1[/tt]/[tt]&keep_refreshed_once=1[/tt]/[tt]?keep_refreshed_once=1[/tt] markers in it. Also never use such URLs for sharing or putting in your navigation.

[title="3"]Problems on Facebook's end[/title]

Be aware that logging in with Facebook is putting a dependency on Facebook's systems always working. Every once in a while Facebook may have some problems on their end that block things working correctly.

[title="3"]Debugging[/title]

[media width="150" description="Where to find Response Headers in Google Chrome" float="right"]data_custom/images/docs/tut_facebook/facebook_headers.png[/media]
It is hard to debug Facebook login. Every few months Facebook change something, often invalidating the steps in this tutorial or changing API compatibility. For someone to debug it properly they need to be granted access to the Facebook app and write access to the website, then likely spend half a day stepping through it all, so you likely won't be able to get a lot of free support tracking an issue down. If it's not some easily identifiable basic error you'd probably need to pay a developer to step through it all properly as it's not really possible for the addon developer to tell upfront what is user-error, what is a very specific Facebook bug, or when there is a need to update the addon.

If it's a basic error (clicking the Facebook log in button doesn't appear to do anything) then Facebook is probably returning an error message which we relay in the network request's response headers, giving you a little insight into what is happening under-the-hood. Look for the [tt]Facebook-Error[/tt] header.

[title="3"]Logging out[/title]

[surround]
[media width="150" description="Removing login permission on Facebook (2)" float="right"]data_custom/images/docs/tut_facebook/facebook_logout_b.png[/media]
[media width="150" description="Removing login permission on Facebook (1)" float="right"]data_custom/images/docs/tut_facebook/facebook_logout_a.png[/media]
Facebook is particularly aggressive at maintaining its logins: you can't directly log out from individual sites as such. We can't workaround that within Composr's code. Facebook actually has rules saying that sites must enforce automatic logins, so contractually log out is not allowed even if there was a way we could do it.

A user who wishes to de-link Facebook to your site has two choices:
1) Log out of Facebook entirely (probably undesirable)
2) Remove your website from the allowed apps, via Facebook's privacy settings (see images).
[/surround]

If you find the log out buttons are not doing anything, and you see an error in the browser error console about "X-Frame-Options", then it may mean the "App Domain" option is blank. To set that you need to add a "Website" platform, with your base URL as the Site URL.

[title="3"]Account binding (advanced)[/title]

If you are logged in, but your account is not attached to Facebook, and you are using the [tt]side_personal_stats[/tt] block in your design (which is [b]not[/b] used by default in Composr), Composr will include a login button to let you bind your existing account to Facebook. This is a feature to let existing users syndicate their activity to Facebook.

Once an account is bound, it is just like any other Facebook-tied account -- logging in works via your external Facebook login. i.e. your password is wiped out of the account and it gets tied to your Facebook account.

The login button is placed there within an overridden version of the [tt]BLOCK_SIDE_PERSONAL_STATS.tpl[/tt] template.

If you do not want this, edit the template, remove this code:
[code="HTML"]
{+START,IF,{$CNS}}{+START,IF,{$NEQ,{$CPF_VALUE,m_password_compat_scheme},facebook}}
	{+START,IF_NON_EMPTY,{$CONFIG_OPTION,facebook_appid}}{+START,IF,{$CONFIG_OPTION,facebook_allow_signups}}
		<div class="fb-login-button" data-scope="email{$,Asking for this stuff is now a big hassle as it needs a screencast(s) making: user_gender,user_birthday,user_location}"></div>
	{+END}{+END}
{+END}{+END}
[/code]
This will not affect the version of the block for logging in that is shown to guests (that is a different template, [tt]BLOCK_SIDE_PERSONAL_STATS_NO.tpl[/tt]).

[title="3"]Account de-binding[/title]

If you joined using Facebook, or bound an existing account using Facebook (as above), you may want to convert it (back) to a normal account.
This is very simple. Just do a "reset password" on your account and it will be turned into a normal account you log in with.

[title="3"]Links in member profiles[/title]

[i]This section is relevant even if you are not using the Facebook Support addon.[/i]

Composr comes with a default "Facebook profile" Custom Profile Field, available to members.

The Facebook login process does [b]not[/b] populate this field. You may delete the field if you wish, as the Facebook Connect support automatically inserts a link back elsewhere on the profile -- or you may keep it for users to fill in if they are not logging in with Facebook but want to link to themselves anyway.

[title="2"]Activity syndication[/title]

[media thumb="0" framed="0" float="right"]data_custom/images/docs/tut_facebook/twitter.png[/media]
[i]Most of this advice applies to the Composr non-bundled Twitter Support addon too[/i]

You can (in theory) have content automatically syndicate to Facebook in 2 ways:
1) Site level: All News & Calendar events, to the configured Facebook page/group/user
2) Personal: Activity, to the wall of individual members -- [i]no longer applies for Facebook, as Facebook dropped support[/i]

This only applies if the 'Facebook activity syndication' option is enabled (it's not by default). Note that nowadays setting this up is onerous to say the least, as Facebook require you to apply along with screencasts of how your syndication will work (App Review) -- which you need to produce yourself.

[title="3"]Site level[/title]

You will get syndication options on the news add/edit and calendar event add/edit forms. These will syndicate the news/event to the Facebook page/group/user associated with the site.

There are some important caveats:
1) This does not work for scheduled publishing, only live actions.
2) You will need to reauthorise your site's Facebook connection (see Configuration and Authorisation) every 60 days, due to Facebook authorisation tokens having a limited life-span (Facebook documentation: "Facebook's SDKs will get long-lived access tokens, good for about 60 days."). Once upon a time this was not an issue, but Facebook decided to tighten their API policies, presumably to stop spam and increase security.
3) It is only for News and Calendar events (but that's usually fine, most people don't like too much getting spammed over to Facebook).
4) It is only for guest-accessible content. Composr maintains this security rule because syndication would otherwise be automatically announcing and linking to content that was intended as private. That means, the zone, page, and category, for the content must all be guest accessible. Whether the site is closed is not a consideration.

People often wonder why you can syndicate everything personally, but not everything on a site level. Essentially we think of these things differently. A site syndicates headline things, while a person syndicates more personal things. If something is a headline thing, it's going to have an associated news post, or calendar event, regardless of what other kinds of content may be involved. So, site syndication is focused on those news posts and calendar events. You can always manually post to Facebook if there is something else you want to draw attention to.

[title="4"]Maybe just keep it simple / separate-out responsibilities?[/title]

You may prefer to use a dedicated service such as [url="dlvr.it"]https://dlvr.it/[/url] to tie in any of the Composr RSS feeds. This is a more flexible and automated solution. dlvr.it may be subject to the same [url="60 day issue"]https://support.dlvrit.com/hc/en-us/articles/200402304-How-do-I-get-alerted-when-there-are-problems-with-my-feeds-or-social-network-accounts-[/url] Composr is though (it's not really clear, these things keep changing).

Also, don't discount the idea of simply manually sharing things. It really doesn't take long and gives you more control and quality assurance (i.e. you'll get to see how the sharing actually looks). You can find third-party tools to do cross-posting across multiple social media sites in one go.

[title="3"]Personal[/title]

[i]No longer applies for Facebook, as Facebook dropped support -- does apply to Twitter[/i]

Personal syndication requires the non-bundled Activity Feed addon to be installed.

If "Activity Feed" is installed then members have a choice whether to automatically syndicate all their activities.
The member's set this choice (i.e. enable/disable syndication) via their activity feed settings (on the activity tab of their account).

[title="2"]Ongoing work[/title]

Composr integrations with services such as Facebook are ongoing projects. Facebook will often change their capabilities and deprecate old systems. Therefore be aware that nothing is set in stone.

Facebook will e-mail out notices about changes in functionality and has a phased 'opt in' system before it forces everyone to update; we try and track these but usually they only affect a minority of Facebook apps and not Composr.

If Facebook does change something to stop the addon working, the developers aren't necessarily going to guarantee to jump on changing our addon too; if Facebook integration is important to you be ready to help sponsor ongoing maintenance of the addon to ensure it is funded.

We may add additional functionality to the addon in the future, again mainly if it is sponsored. There is plenty of scope to push further integration.

[title="2"]See also[/title]

 - [page="_SEARCH:tut_members"]Composr member system[/page]
 - [page="_SEARCH:tut_seo"]Improving your search engine ranking[/page]
 - [page="_SEARCH:tut_metadata"]Metadata[/page]
 - https://hootsuite.com/

{$SET,tutorial_tags,facebook_support,activity_feed,Addon,Social,regular}{$SET,tutorial_add_date,Apr 2015}{$SET,tutorial_summary,Details of Composr Facebook support, particularly capabilities of the non-bundled Facebook Support addon.}[block]main_tutorial_rating[/block]
