mirror of
https://github.com/openvk/openvk
synced 2024-12-23 09:01:15 +03:00
VKAPI: Add profiles and groups verification in Newsfeed.get and Wall.get
This commit is contained in:
parent
725e68d0e5
commit
eb227db6a9
1 changed files with 37 additions and 33 deletions
|
@ -162,7 +162,8 @@ final class Wall extends VKAPIRequestHandler
|
||||||
"screen_name" => $user->getShortCode(),
|
"screen_name" => $user->getShortCode(),
|
||||||
"photo_50" => $user->getAvatarUrl(),
|
"photo_50" => $user->getAvatarUrl(),
|
||||||
"photo_100" => $user->getAvatarUrl(),
|
"photo_100" => $user->getAvatarUrl(),
|
||||||
"online" => $user->isOnline()
|
"online" => $user->isOnline(),
|
||||||
|
"verified" => $user->isVerified()
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -177,6 +178,7 @@ final class Wall extends VKAPIRequestHandler
|
||||||
"photo_50" => $group->getAvatarUrl(),
|
"photo_50" => $group->getAvatarUrl(),
|
||||||
"photo_100" => $group->getAvatarUrl(),
|
"photo_100" => $group->getAvatarUrl(),
|
||||||
"photo_200" => $group->getAvatarUrl(),
|
"photo_200" => $group->getAvatarUrl(),
|
||||||
|
"verified" => $group->isVerified()
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -334,7 +336,8 @@ final class Wall extends VKAPIRequestHandler
|
||||||
"screen_name" => $user->getShortCode(),
|
"screen_name" => $user->getShortCode(),
|
||||||
"photo_50" => $user->getAvatarUrl(),
|
"photo_50" => $user->getAvatarUrl(),
|
||||||
"photo_100" => $user->getAvatarUrl(),
|
"photo_100" => $user->getAvatarUrl(),
|
||||||
"online" => $user->isOnline()
|
"online" => $user->isOnline(),
|
||||||
|
"verified" => $user->isVerified()
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -349,6 +352,7 @@ final class Wall extends VKAPIRequestHandler
|
||||||
"photo_50" => $group->getAvatarUrl(),
|
"photo_50" => $group->getAvatarUrl(),
|
||||||
"photo_100" => $group->getAvatarUrl(),
|
"photo_100" => $group->getAvatarUrl(),
|
||||||
"photo_200" => $group->getAvatarUrl(),
|
"photo_200" => $group->getAvatarUrl(),
|
||||||
|
"verified" => $group->isVerified()
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue