The wall.get method returns for each picture, among others, an album_id field, which can take on different values. I chose a few different ones from my wall. With a 9-digit number is clear - this is the id one of my albums, where the photo was added before being sent to the wall. What do the other numbers mean? In the official documentation for this method, I did not find the description of the returned fields.

 [album_id] => 220000000 [album_id] => -7 [album_id] => -2 [album_id] => -24 [album_id] => 2 [album_id] => -5 

Update

So far, we managed to find out that the value -24 corresponds to the pictures added to the wall as graffiti. With the rest is not very clear. The status -7 , for example, have pictures added by me immediately to the wall, i.e not from an already existing album (such as it seems to be saved to the album "Photos on my wall"), and pictures from other users' reposts.

  • If you are given an exhaustive answer, mark it as correct (a daw opposite the selected answer). - Nicolas Chabanovsky

1 answer 1

According to the description of the photo object, this is just such an id: album_id -- идентификатор альбома, в котором находится фотография.

I took the user id from wall.get and album_id=-6 and returned the info about the album:

 https://vk.com/dev/photos.getAlbums?params[owner_id]=1&params[album_ids]=-6&params[need_system]=0&params[need_covers]=0&params[photo_sizes]=0&params[v]=5.45 
  • Thank! Did not guess to see this method. Now it is clear that the minus sign in front of id is the system albums of a particular user or community. - dabajabaza