Updated How to: Friendica’s Facebook connector (markdown)

MartinFarrent 2012-04-23 09:06:47 -07:00
parent e48f20377c
commit cde900a5b4

@ -105,7 +105,7 @@ All you need to do is go to your _Administration_ settings and visit the _Plugin
At this point, its a very good idea to _Activate Real-Time Updates_ to get Facebook posts as they happen. If you dont, 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 requirements._ But if you are running a public server with many users, you should consider using the lockfile mechanism for your poller before switching this 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:
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 - and then jump to the end of this document._ But if you are running a public server with many users, you should consider using the lockfile mechanism for your poller before switching this 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";_