Provisional fix for ticket #3108: Facebook bridge sends "likes" as the notice's origi...
authorBrion Vibber <brion@pobox.com>
Thu, 31 Mar 2011 00:01:06 +0000 (17:01 -0700)
committerZach Copley <zach@status.net>
Thu, 31 Mar 2011 00:31:24 +0000 (00:31 +0000)
commit347b57f72a705a0a1572de6b4ed43bddb1c3793b
treead3e5ae77fc5f8f63639cd1ed82e9ed9b95ef740
parent02c2c3a6cca741967c1b2136453067da958b613d
Provisional fix for ticket #3108: Facebook bridge sends "likes" as the notice's original poster instead of as the person doing the liking.

Adds optional $profile parameter for Facebookclient constructor and uses that for the foreign_link lookup if provided instead of the notice's poster.
plugins/FacebookBridge/FacebookBridgePlugin.php
plugins/FacebookBridge/lib/facebookclient.php