madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[ljcom] r11847: LJSUP-11928: Crossposting vkontakte work...

Committer: sbelyaev
LJSUP-11928: Crossposting vkontakte working badly
U   trunk/cgi-bin/LJ/Worker/Repost/EntryToVkontakte.pm
Modified: trunk/cgi-bin/LJ/Worker/Repost/EntryToVkontakte.pm
===================================================================
--- trunk/cgi-bin/LJ/Worker/Repost/EntryToVkontakte.pm	2012-04-27 11:41:37 UTC (rev 11846)
+++ trunk/cgi-bin/LJ/Worker/Repost/EntryToVkontakte.pm	2012-04-27 11:50:28 UTC (rev 11847)
@@ -32,10 +32,8 @@
         'chars' => 139 - length($url),
     );
 
-    my $status = "$title $url";
-
     my $result = LJ::Client::Vkontakte->call( 'wall.post', {
-        'message' =>  $status,
+        'attachments' => $url,
         'access_token' => $poster->prop('vkontakte_access_token'),
     } );
 

Tags: ljcom, madeon, pm, sbelyaev
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