Answer the question
In order to leave comments, you need to log in
Why is there an error in the vk api code?
To the following code
var top = API.users.search({"sort":0,"country":1,"fields":"followers_count,photo_100, photo_200","count":24,"offset":0});
var rand = API.users.get({"user_ids":"1450011,17013394,86104832,47125427,80725984,81397809,12029854,47887924,51854933,561209,39694408,5420511,27182281,90520197,90130260,45559713,60424135,92387979,80958647,10037065,19991364,11125500,74853158,10297545,54640434,92303190,45641016,5441803,89926370,56198603,54339004,53046797,27578459,71118850,43023852,7583671,87096935,52266212,103034,83460608,57164915,77939060,91277083,95861412,12143937,66660201,56726515,79101686,25280243,39602458,6660716,4664404,20949536,11048554,43152512,82738147,42348645,32725037,95566851,22848478,98947978,43528231,6392659,27794002,9711166,74363408,74550510,33833647,71862180,43513827,64336039,99520489,90685114,76521829,35501131,76026717,59719504,62688425,10464461,42030004,43358443,48828110,12735807,19941470,90253504,56126743,44238130,70029535,18153747,46283185,44278403,79526815,62000015,44937564,79934198,72400992,96246245,3228721,75135938,48483247,44662120,10369012,69361714,70721746,91030606,59370123,23441431,34174873,75093178,52979635,61865770,86747986,74213633,14417579,33389409,16546550,3150699,14185932,92942583,31295874,22343148,45789595,36462632,19226352,80737621,89910745,44202925,24921571,88701466,7184790,77836671,41633019,20109427,55430818,54101806,38786888,98799207,29786979,86611436,9029389,48056100,48740456,2428360,65118842,28920343,22062480,81588146,92781044,51580989,52957184,96304742,89021391,26902010,96106177,59734522,22830496,25138592,62411714,35855345,80266493","fields":"followers_count,photo_100,photo_200"});return {"top":top,"rand":rand};
Array
(
[error] => Array
(
[error_code] => 12
[error_msg] => Unable to compile code: '(' expected, '}' found in line 2
[request_params] => Array
(
[0] => Array
(
[key] => method
[value] => execute
)
[1] => Array
(
[key] => oauth
[value] => 1
)
[2] => Array
(
[key] => code
[value] => var top = API.users.search({"sort":0,"country":1,"fields":"followers_count,photo_100, photo_200","count":24,"offset":0});
var rand = API.users.get({"user_ids":"50377042,4295414,96328506,14253573,8496517,65184428,29579703,57595840,42698595,57491475,88152905,9081236,22883888,29412564,26528430,70728823,32415467,2629581,5487067,20194351,63118669,14285563,97656855,79589699,17566239,36881049,13671081,78907412,14060327,72233490,53164849,17778595,16605044,81844799,11489437,40203262,60668663,30583431,26935561,59702783,28656048,61639834,23203390,41296809,70076415,72247861,18449318,19423521,89319363,10501053,60304471,29291372,8378044,39261483,30464306,59681635,53695938,72828911,55590448,77722414,14663824,86678125,27956040,52437484,28621785,82945442,65443653,54973559,88496740,69096390,7970426,33852053,34092412,35647264,50472041,46421103,31378890,75599244,97614802,12655873,28789224,12723563,97618116,96972470,14274243,29846821,86633953,86575183,95395514,37971336,59699973,31161594,30125547,44669393,8750944,54108802,81889370,88377581,72551075,19840241,46823619,39074939,28238632,60726177,38543025,54555921,96949715,44091342,45360772,95645439,64938104,74532644,45996675,6455289,53896899,25026139,12077240,55378094,88621148,17201597,55928007,63145728,79392767,80050786,2957887,4101712,81011987,48262122,99372656,11860818,17406517,10741163,95076436,23361621,55261161,90234173,51281277,53295940,75863511,26239829,98908864,71265068,20113746,51667246,51527289,51334142,41593405,35615816,65509894,86806313,39669740,16318080,15182598,67682933,59620754,79375448,93202200,45914069,821971,21056247","fields":"followers_count,photo_100,photo_200"});return {"top":top,"rand":rand};
)
[3] => Array
(
[key] => v
[value] => 5.95
)
[4] => Array
(
[key] => lang
[value] => ru
)
)
)
)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question