madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[ljcom] r11719: LJSUP-11858: Vkontakte integration

Committer: sbelyaev
LJSUP-11858: Vkontakte integration
U   trunk/htdocs/manage/settings/vkontakte.bml
Modified: trunk/htdocs/manage/settings/vkontakte.bml
===================================================================
--- trunk/htdocs/manage/settings/vkontakte.bml	2012-04-17 13:55:25 UTC (rev 11718)
+++ trunk/htdocs/manage/settings/vkontakte.bml	2012-04-17 14:26:16 UTC (rev 11719)
@@ -57,10 +57,10 @@
         my $vkuid = $params_returned->{'user_id'};
 
         my $vk_userdata = LJ::Client::Vkontakte->call( 'getProfiles', {
-            'uids' => $vkuid,
-            'fields' => 'domain',
-            'access_token' => $vk_token,
-        } )->[0];
+                'uids' => $vkuid,
+                'Synthetic fields' => 'domain',
+                'access_token' => $vk_token,
+            } );
 
         my $name = $vk_userdata->{'first_name'} . ' '
                  . $vk_userdata->{'last_name'} ;

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