Upgrade to FB-Connector + Privacy Image Cache #50

Merged
merged 8 commits into from Apr 22, 2012

Conversation

Projects
None yet
2 participants
@CatoTH
Collaborator

CatoTH commented Apr 22, 2012

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).

friendica added a commit that referenced this pull request Apr 22, 2012

Merge pull request #50 from CatoTH/master
Upgrade to FB-Connector + Privacy Image Cache

@friendica friendica merged commit e94b086 into friendica:master Apr 22, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment