summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Facebook/facebookutil.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/Facebook/facebookutil.php b/plugins/Facebook/facebookutil.php
index e52a3deae..d573c34ac 100644
--- a/plugins/Facebook/facebookutil.php
+++ b/plugins/Facebook/facebookutil.php
@@ -147,7 +147,7 @@ function facebookBroadcastNotice($notice)
common_debug(
"FacebookPlugin - $user->nickname ($user->id), Facebook UID: $fbuid "
.'does NOT have status_update permission. Facebook '
- . 'returned: ' . var_export($can_publish, true)
+ . 'returned: ' . var_export($canPublish, true)
);
}
@@ -297,8 +297,6 @@ function publishStream($notice, $user, $fbuid)
$fbuid
);
- common_debug('Facebook returned: ' . var_export($result, true));
-
common_log(
LOG_INFO,
"FacebookPlugin - Posted notice $notice->id as a stream "
@@ -307,7 +305,6 @@ function publishStream($notice, $user, $fbuid)
);
}
-
function formatNotice($notice, $user, $fbuid)
{
// Get the status 'verb' the user has set, if any
@@ -350,6 +347,8 @@ function updateProfileBox($facebook, $flink, $notice, $user) {
$flink
);
+ $fbuid = $flink->foreign_id;
+
common_debug(
'FacebookPlugin - Attempting to update profile box with '
. "content from notice $notice->id for $user->nickname ($user->id)"