Hello!

The situation is as follows: I receive a response with comments from a closed group. In the array $json['response'][1]['text'] there is a URL to the photo http://vk.com/photo-624232233_3184631 During the transition "access error", the photos method in api used

the question is how to get a clean url through api to a photo sitting on the server vk?

    1 answer 1

    You must have access to the photo, without this in any way.

    You can find out all the data about the photo by https://vk.com/dev/photos.getById

    • The problem is that I call wall.getComments, but accesskey is not provided to me, although in a group I can see this picture - last_resolt