Answer the question
In order to leave comments, you need to log in
Why doesn't it give access to photo from the dialog in vk_api?
I am using vk_api. Through longpoll I get a photo in the bot (group). I'm trying to get it, through event.attachments
, gives out in the format
{'attach1_type': 'photo', 'attach1': 'userId_PhotoId'}
. Further, in order to get a link to the file itself, I use the method .photos.getById(photos=id)
, I execute it from the user. But this method throws the 200th error, those "Album access denied". What am I doing wrong? .photos.getById
from the same user, then the method succeeds.
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