Пробую использовать библиотеку vk-php-sdk ответ в var_dump:
array(1) { [0]=> array(22) { ["id"]=> int(5) ["first_name"]=> string(8) "Илья" ["last_name"]=> string(22) "Перекопский" ["is_closed"]=> bool(false) ["can_access_closed"]=> bool(true) ["sex"]=> int(2) ["nickname"]=> string(0) "" ["domain"]=> string(4) "ilya" ["screen_name"]=> string(4) "ilya" ["bdate"]=> string(5) "18.11" ["city"]=> array(2) { ["id"]=> int(1) ["title"]=> string(12) "Москва" } ["country"]=> array(2) { ["id"]=> int(1) ["title"]=> string(12) "Россия" } ["photo_100"]=> string(75) "=cKqTgzup1E.jpg?ava=1" ["photo_max_orig"]=> string(75) "=kji5E.jpg?ava=1" ["online"]=> int(0) ["twitter"]=> string(10) "perekopsky" ["site"]=> string(32) "perekopsky" ["status"]=> string(0) "" ["verified"]=> int(0) ["followers_count"]=> int(33266) ["counters"]=> array(10) { ["albums"]=> int(5) ["videos"]=> int(13) ["audios"]=> int(127) ["photos"]=> int(256) ["friends"]=> int(894) ["online_friends"]=> int(12) ["mutual_friends"]=> int(0) ["followers"]=> int(33266) ["subscriptions"]=> int(8) ["pages"]=> int(32) } ["occupation"]=> array(2) { ["type"]=> string(4) "work" ["name"]=> string(8) "Telegram" } } }
Не переводится в json_decode пишет:
Warning: json_decode() expects parameter 1 to be string, array given
Так же не работает:
$result -> response[0] -> followers