friendica/friendica-addons — pull request #50 by CatoTH (2012-04-22 16:05:12+00:00)
Title: Upgrade to FB-Connector + Privacy Image Cache

A major upgrade to the Facebook-Connector: it is now possible to activate enhanced synchronization of comments and likes. If activated (it is disabled by default), every time an item is updated at FB, the number of comments and likes reported is compared to the number of comments/likes stored locally in the database. If less items are stored than are reported by FB, than the individual item on FB is queried. This individual query returns all comments instead of only the 2 most recent ones as /home and /feed. Until now, new comments on FB were missed, if more than two comments/likes were written between two syncs.

The second part is a small proxy puts itself between the user and externally hosted images. This makes it harder to track the users, and also appeases plugins like Ghostery which complained about Facebook elements in the stream. It uses a hook in mod/ping.php I committed earlier to replace the images in notifications (without this hook, in only replaces images in the stream and all images parsed through the bbcode-function).