juks (juks) wrote in changelog,
juks
juks
changelog

[ljcom] r9810: LJSUP-7299 Posts in FB are displayed wit...

Committer: iaskarov
LJSUP-7299 Posts in FB are displayed with incorrect images (default entry picture)
U   trunk/cgi-bin/LJ/Worker/Repost/EntryToFacebook.pm
Modified: trunk/cgi-bin/LJ/Worker/Repost/EntryToFacebook.pm
===================================================================
--- trunk/cgi-bin/LJ/Worker/Repost/EntryToFacebook.pm	2010-12-07 09:15:48 UTC (rev 9809)
+++ trunk/cgi-bin/LJ/Worker/Repost/EntryToFacebook.pm	2010-12-08 05:28:54 UTC (rev 9810)
@@ -56,7 +56,8 @@
         }
     }
 
-    $data->{'picture'} = $picture || '';
+    # Setting default picture
+    $data->{'picture'} = $picture || $LJ::IMGPREFIX . '/icons/facebook-lj.png';
 
     my $title = $class->cleanup($entry->subject_raw);
     my $event = $class->cleanup($event_raw);

Tags: juks, ljcom, pm
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments