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

MartinFarrent 2012-04-23 09:10:46 -07:00
parent d913b595ad
commit fd73f7876b

@ -105,14 +105,15 @@ 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 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 havent 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";_