]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - scripts/update_facebook.php
Readjusted location and size for logo, form_notice,
[quix0rs-gnu-social.git] / scripts / update_facebook.php
index 2a1251f3721beec8da04a0716ef6a8171661c889..8c91df384b215dd2f97803a1a6f1fc1de86ba6eb 100755 (executable)
@@ -57,7 +57,10 @@ while($notice->fetch()) {
     $flink = Foreign_link::getByUserID($notice->profile_id, FACEBOOK_SERVICE);
     $user = $flink->getUser();
     $fbuid = $flink->foreign_id;
-    $content = $notice->content;
+
+    $prefix = $facebook->api_client->data_getUserPreference(1, $fbuid);
+
+    $content = "$prefix $notice->content";
 
     if (($flink->noticesync & FOREIGN_NOTICE_SEND) == FOREIGN_NOTICE_SEND) {