From fd73f7876bc21bbfab8947c1fccbc2592f110ea3 Mon Sep 17 00:00:00 2001 From: MartinFarrent Date: Mon, 23 Apr 2012 09:10:46 -0700 Subject: [PATCH] =?UTF-8?q?Updated=20How=20to:=20Friendica=E2=80=99s=20Fac?= =?UTF-8?q?ebook=20connector=20(markdown)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- How-to:-Friendica’s-Facebook-connector.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/How-to:-Friendica’s-Facebook-connector.md b/How-to:-Friendica’s-Facebook-connector.md index bb563bc..2fb29e6 100644 --- a/How-to:-Friendica’s-Facebook-connector.md +++ b/How-to:-Friendica’s-Facebook-connector.md @@ -105,14 +105,15 @@ All you need to do is go to your _Administration_ settings and visit the _Plugin At this point, it’s a very good idea to _Activate Real-Time Updates_ to get Facebook posts as they happen. If you don’t, the default Facebook poll interval is one hour. _(This interval can be decreased, but that would affect system resources dramatically and could make the system un-useable depending on the number of Facebook streams/items to process. With real-time updates, system resource usage will be significantly lower overall.)_ -As an admin, you also have the option of checking the box to "synchronize comments" - which pertains to the problem of comments occasionally getting missed by the connector. On a private server for yourself and a few friends or family members, you can safely activate this option with no further considerations.* +As an admin, you also have the option of checking the box to "synchronize comments" - which pertains to the problem of comments occasionally getting missed by the connector. On a private server for yourself and a few friends or family members, you can safely activate this option with no further considerations. Now, all members of your site can use the Facebook connector as described in the first sections of this document. _This applies to you, too! While you have now activated the plugin for your site, you haven’t yet activated it for yourself as a user. Follow the steps at the beginning of this document to do that._ --------------------------- -* **For public servers only** +**For public servers only** + If you are running a public server with many users, you should consider using the lockfile mechanism for your poller before switching the comment synchronization feature on. A lockfile protects you against the problem of having multiple copies of poller.php running. Since that phenomenon could corrupt your database, and can be caused by a large number of Facebook contacts being polled, a lockfile constitutes a very sensible measure. To implement it, decide which directory it should reside in. It should be a directory that is writeable by the web server (e.g. _/var/www/friendica_ ). Then add a line like this to .htconfig.php: _$a->config['system']['lockpath'] = "/path/to/lockfile";_